Regex to exclude 1 word out of a regex code.
- by Mech Software
I need a regex expert to help out on this one. Examples I've found on here and the net I cant seem to get right. I'm using PHP and I have the following regex expression
/([^a-zA-Z0-9])GC([A-Z0-9]+)/
This matches items like GCABCD GC123A, etc. What i need to do is EXCLUDE GCSTATS from this. So basically I want it to work just as it has, except, ignore GCSTATS in the regex.