Hi,
This matches 'doc' followed by one or more of any character, so naturally 'DOC_NUM' matches (with /i). If you are looking for a match of your string followed by a comma or a space, make it so:doc.+
doc[,\s]
Hope this helps!
In reply to Re: Can I have a hard stop on a match
by 1nickt
in thread Can I have a hard stop on a match
by BillB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |