REGULAR EXPRESSION

Steve Holden steve at holdenweb.com
Tue Sep 4 09:42:24 EDT 2007


AniNair wrote:
> hi.. I am trying to match '+ %&/-' etc using regular expression  in
> expressions like 879+34343. I tried \W+   but it matches only in the
> beginning of the string Plz help Thanking you in advance...
> 
Perhaps you could give a few example of strings that should and 
shouldn't match? It isn't clear from your description what pattern you 
are trying to find.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------




More information about the Python-list mailing list