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

Re: regex needed: Capture a single entity from two discontiguous parts.

by explorer (Chaplain)
on Dec 23, 2006 at 16:24 UTC ( #591452=note: print w/ replies, xml ) Need Help??


in reply to regex needed: Capture a single entity from two discontiguous parts.

More simple...

my $number; if ( ($number) = $date =~ m/([\d,]+)/ ) { $number =~ s/,//g; }
  • Comment on Re: regex needed: Capture a single entity from two discontiguous parts.
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2016-07-28 23:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (258 votes). Check out past polls.