Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: regexp to return rest of string

by plaid (Chaplain)
on Jun 03, 2000 at 00:48 UTC ( #16119=note: print w/replies, xml ) Need Help??


in reply to regexp to return rest of string

$string = "/home/angryman/www/content/m/i/2000/5/31/r_standoff.gif"; $string =~ /content(.*)/; $relative_url = $1;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://16119]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2022-05-16 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (62 votes). Check out past polls.

    Notices?