Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: reg expression question

by Sathishkumar (Scribe)
on Jan 28, 2015 at 07:58 UTC ( [id://1114716]=note: print w/replies, xml ) Need Help??


in reply to reg expression question

find below code
$variable =~ s/([^<]*?)\s+\d{2}(\d{2}[^<]*?)$/$1-$2/igs; $variable =~ s/\s+/-/igs;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-20 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found