Reputation: 2170
After some tries I have created the follow regex:
/([^\w][[:alnum:]]*\.)/g
That matches results as this image:
In the secod case, pointed by red arrow I got "=U."
as match, but I only want "U."
(rather if without spaces before) and "A2."
- how can I exclude "=" (equal) char from match criteria?
See the live example: http://regex101.com/r/cI9fL1
Upvotes: 0
Views: 302