I used the non-capturing parentheses to create a group so I could apply a quantifier to it. I want the "U.S. " to be optional, so I want to apply a * to that whole group. I should probably have used a ? (zero or one) though.
In reply to Re^3: Regexp dashes at boundaries
by brian_d_foy
in thread Regexp dashes at boundaries
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |