^K1_(\w*\d*)$|^ASC_(\w*\d*)$|^GEB_(\w*\d*)$|N1_(\w*\d*)$.
In your example K1, ASC and GEB are anchored at the beginning of the string while N1 is not. How do you determine which strings should match at the beginning of the string?
Your pattern ends with a . which will match any character except after the end of the string!
In reply to Re: Dynamic Regular Expression
by jwkrahn
in thread Dynamic Regular Expression
by Pratikh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |