Note that both the pattern and the replacement have their own set of parens. You may write:s{(\Qhttp://v2vi.click4assistance.co.uk/c4a.aspx?AccNo=Inter12109& +IDENT=\E)US}{${1}UK}g
as well.s{(\Qhttp://v2vi.click4assistance.co.uk/c4a.aspx?AccNo=Inter12109& +IDENT=\E)US} {${1}UK}g
In reply to Re^3: regex issue
by JavaFan
in thread regex issue
by rahulgsp83
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |