Re: regular expresions

2001-08-31 Thread Jeff 'japhy/Marillion' Pinyan
On Aug 31, agc said: >so I would like to know wich woud be the reg exp for a case like that >where are examples? fro a beguinner? can any one give me a hand with >this? cheers There are several Perl documents on regexes: perlrequick perlretut perlre Looking at them in that order sh

Re: Regular expresions

2001-08-16 Thread Jos I. Boumans
s@Perl. Org" <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 1:59 PM Subject: RE: Regular expresions > The \D switch takes out everything that IS a number. Was the original > question not that this person wanted to take out everything was IS NOT a > number? > > -O

RE: Regular expresions

2001-08-16 Thread Steve Howard
To: '[EMAIL PROTECTED]' Subject: RE: Regular expresions i think the /D switch is best... $str = 'YD*&h9dhiudhc9s9123abc&&%$&()_#'; print $str, "\n"; $str =~ s/\D//g; print $str, "\n"; > -Origin