Re: Regular expressions
- From: *** Kusleika <dkusleika@xxxxxxxxx>
- Date: Wed, 19 Sep 2007 17:59:04 -0500
On Wed, 19 Sep 2007 12:24:02 -0700, Dave <Dave@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
For example I could set a pattern of "[)(*&^]" how would I code it to
exclude those values?
.Pattern = "[^)(*&\^]"
Note the \ that precedes the second ^. The first ^ defines the character
sequence as negative and the \ escapes the second ^ so it's included in the
negative character sequence.
--
*** Kusleika
Microsoft MVP-Excel
http://www.dailydoseofexcel.com
.
- Follow-Ups:
- Re: Regular expressions
- From: Ron Rosenfeld
- Re: Regular expressions
- Prev by Date: Re: Interest Rate Help
- Next by Date: Re: Regular expressions
- Previous by thread: Lookup function in VBA
- Next by thread: Re: Regular expressions
- Index(es):
Loading