Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: regex to remove all non a-z and spaces

by coldfingertips (Pilgrim)
on May 16, 2005 at 02:57 UTC ( #457345=note: print w/replies, xml ) Need Help??


in reply to Re^3: regex to remove all non a-z and spaces
in thread regex to remove all non a-z and spaces

So what it's really saying is "s/// anything that is not within our class"? So s/[^0-9\.-]//g; would be an example on how to remove any non number (except - and .)?

Replies are listed 'Best First'.
Re^5: regex to remove all non a-z and spaces
by mrborisguy (Hermit) on May 16, 2005 at 03:01 UTC
    yep! you got it.
      Ahhh, dang! I never knew you could do something like this, this is awesome. Thanks!!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2020-02-29 02:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (128 votes). Check out past polls.

    Notices?