perl -le '$foo = "blah blah http://www.foo.com/ blah blah"; $foo =~ s/ +http\S+/ /ig; print $foo' blah blah blah blah
In reply to Re: s/// to replace HTTP address with a space
by friedo
in thread s/// to replace HTTP address with a space
by spiritway
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |