I am currently trying to improve the readability of some of my python scripts by adding spaces around the equal signs. For example, currently an assignment looks like this:
With your initial regex,
Regex:
(?<=[\w\]\)])=(?=\w)
REplacement string:
=
I added instead of . Lookarounds would do a zero width match. It won't match any characters.
DEMO