RegEx for may not start with...
Posted: Thu Jul 03, 2008 3:22 am
Hi
Have really struggled to find a regex to identify strings which may start with, f. eks. "FBI_", but are not an empty string.
for example ^[^(GS_)] matches strings that do not start with GS_, but it also matches an empty string.
Ian
Have really struggled to find a regex to identify strings which may start with, f. eks. "FBI_", but are not an empty string.
for example ^[^(GS_)] matches strings that do not start with GS_, but it also matches an empty string.
Ian