[thelist] RegEx problem again [solved]
Matt Warden
mwarden at gmail.com
Mon Aug 8 11:27:29 CDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tom Dell'Aringa wrote:
> --- "Kowalkowski, Lee (ASPIRE)" <lee.kowalkowski at hmrcaspire.com> wrote:
>
>
>>>-----Original Message-----
>>>From: Tom Dell'Aringa [mailto:pixelmech at yahoo.com]
>
>
>>>Which worked just fine, till we realized we need to allow one
>>>or more SPACES as well! How do you
>>>add a space to the pattern? (and allow for as many spaces as
>>>they like?)
>>
>>Just add a space to the character sets, so [a-zA-Z] becomes [a-zA-Z ]. Note
>>the space before the closing square bracket.
>
>
> That worked perfect, Lee thanks!
Doing this will count the spaces as one of the 3 or 4 characters,
which I assume is not what you want to do.
- --
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com
This email proudly and graciously contributes to entropy.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFC94fxAQ0d4HGyPE8RAhd1AJ9OmcOvNeiBMpCMtEkDfSKMspSrOgCdFj7l
Isnu0UzvU4tWx7Up8OsypoM=
=/5+a
-----END PGP SIGNATURE-----
More information about the thelist
mailing list