Welcome to the Monastery | |
PerlMonks |
modify a URLby Anonymous Monk |
on Nov 04, 2010 at 21:41 UTC ( [id://869563]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I need a simple regular expression to modify a url
Ex: $url = http://www.abc.com/def/ghi.html
the result should be only http://www.abc.com
Back to
Seekers of Perl Wisdom
|
|