I'm trying to match a single standalone '=' character with a regular expression.
For example, for this code
if(y == 5 || x = 1) {
Do something ...
}
I want to match to the single '=', and not the "==". I've tried a lot of combinations of regular expression strings but I still can't get a match on the correct position.