-----Original Message-----
Is there somewhere to get a description of ALL of this "module's"
functionality? The world of regular expressions is pretty vast. Is there
some online reference, or something squirreled away on the Office
installation CD's?
-em
Yes. You set a reference to the 5.5 library. Here is an
example of its use (examples cleans currency expressions):
Dim regex As RegExp
Set regex = New RegExp
regex.Global = True
regex.Pattern = "[^$.,0-9]" ' Strip non currency chars
S = regex.Replace(S, "")
regex.Pattern = "[^0-9]" ' Strip non-digits
S = regex.Replace(S, "")
-----Original Message-----
Is there a way to use regular expressions in Excel VBA
code? I notice that
there is a "Microsoft VBscript Regular Expressions (v1.0
& 5.5) on the Tools
References window of the Visual Basic Editor.
Thanks.
-em
.
.