I basically know how to replace partial of string with designated characters. But I have trouble with the string containing special characters which pass to perl variable and which I only keep it as it is in perl. For instance, I have a web link as https://abc.abc:8080/abc?abcdef&abc=&egh?, I am intending to replace abc.abc:8080 as def.def and keep the rest of it as it is, so the link would be https://def.def/abc?abcdef&abc=&egh?
Is there a way to do it ?
Thanks!
In reply to replace characters in link by ytjPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |