Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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

Replies are listed 'Best First'.
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?
[marto]: good morning all
[Corion]: Hi marto! ;)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-02-27 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (378 votes). Check out past polls.