Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: regex help

by andrew (Acolyte)
on Sep 27, 2002 at 21:07 UTC ( [id://201345]=note: print w/replies, xml ) Need Help??


in reply to regex help

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Re: regex help
by andrew (Acolyte) on Sep 27, 2002 at 21:11 UTC
    while ( <DATA> ) { if ( /browse(\/.*)\// ) { #if the current $_ matches #browse followed by a # / followed by anything #but having to be followed by # another / #then put whatever was found #between the parens in $line my $line = $1; print "$line\n"; } }
    All I have is a variable not <DATA>???

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-19 14:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found