Ok so, in Sublime Text I can use this Find/Replace regex:
find: (src|href)=\"(assets\\/.+?)\" replace: \\1=\"{% static \'\\2\' %}\"
To repl
As described in the PyCharm documentation, in PyCharm you need to use $1 rather than \1 to refer to a group in the replacement expression.