Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: perl regex with '\s+'

by emcb (Beadle)
on Jun 09, 2002 at 01:32 UTC ( #172862=note: print w/ replies, xml ) Need Help??


in reply to Re: perl regex with '\s+'
in thread perl regex with '\s+'

Thanks fellow monks. I'm still learning re's so that got me. And i think i'll start using the 'magic' open on these ones...

Elfyn


Comment on Re: perl regex with '\s+'
Re^2: perl regex with '\s+'
by Anonymous Monk on Jul 02, 2012 at 13:46 UTC
    \s+ change consecutive spaces to single spaces \s* remove all spaces altogether;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (16)
As of 2014-10-20 17:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (85 votes), past polls