Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Regex Problems

by hackdaddy (Hermit)
on Nov 08, 2002 at 02:50 UTC ( [id://211315]=note: print w/replies, xml ) Need Help??


in reply to Regex Problems

Try this:
my $f = "apple.htm"; $f =~ s/^(\w+)\.(\w+)$/$1./; print "\$f = $f\n";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-25 11:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found