Regular Expressions 101

Community Patterns

Search for missing space around operator (=, +, -)

1

Regular Expression
Python

r"
(?! )=(?! )
"
gm

Description

In this case it is only =, but you can easily modify it to add more operators.

Submitted by rugk - 8 years ago