Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: perl regex with '\s+'

by emcb (Beadle)
on Jun 09, 2002 at 01:32 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://172862]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found