DevSupport
asked on
regex to restrict strings ending with something
I would like to know how to write a regex which does not allow strings ending with dev, qa, prd, staging and the string should be only lowercase.
for example
abcqa not allowed
xyzdev not allowed
pqr allowed
abcdef - allowed
mnxpkdev - not allowed
lmnopstaging - not allowed
for example
abcqa not allowed
xyzdev not allowed
pqr allowed
abcdef - allowed
mnxpkdev - not allowed
lmnopstaging - not allowed
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER