Note this works only because the string is anchored at the end. Otherwise \w+? would always match only one character and (txt)? the empty string.
In reply to Re: RegExp Matched Values
by jethro
in thread RegExp Matched Values
by rpike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |