Home: Perl Programming Help: Regular Expressions:
Novice need help... please!



welch
stranger

May 13, 2004, 12:35 PM


Views: 7636
Novice need help... please!

Hi Guys,



I'm novice with regex and I'm breaking my head...



How can I make a regexp to match everything except digits (\d) or comma (,)?



I apreciate your help



Thanks
_______________________
Welch


davorg
Thaumaturge / Moderator

May 14, 2004, 12:49 AM


Views: 7631
Re: [welch] Novice need help... please!


Code
/[^\d,]/


--
Dave Cross, Perl Hacker, Trainer and Writer
http://www.dave.org.uk/
Get more help at Perl Monks


welch
stranger

May 17, 2004, 6:48 AM


Views: 7626
Re: [davorg] Novice need help... please!

HI davorg



Thanks for your replay... I'm going to try.



Welch
_______________________
Welch