Replace Django Absolute Paths for Static Paths with Regex Find & Replace Find: \"\.\.\/\.\.\/\.\.\/static\/([0-9A-Za-z._\-\/]+)\" Replace: "{% static "$1" %}" Works with PyCharm and likely other Jetbrains IDEs
Don't forget to
{% load static %}
!