$temp1='http://test.com/web/main\?'; $temp2='https://test.com/web1/test1'; $proc_string =~ s/$temp1/$temp2/g;
See Regular Expressions, in particular the section on quantifiers, for details.
In reply to Re: String Replace
by kennethk
in thread String Replace
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |