A
alr
Hi All,
I am trying to locate and move some sensitive data from some text fields. I
have isolated the records that have the problem with queries using the
following type of criteria:
Like “*acct[#] ###*â€
Like “*acct [#]###*â€
Like “*###-##-####*â€
Like “*##-#######*†etc.
Unfortunately this is mixed with needed data so the offending text above
must be removed from within the text fields and relocated. I am accustomed to
this kind of text manipulation with the InStr, Right, Left, and Mid commands
but this will not work with only patterns.
I understand that this can be done with Regular Expressions, which are
exposed through VB Script, neither of which I have ever used.
I would be most appreciative of a reference or description of how to access
VB Script and Regular Expressions for this use. Queries are probably easier
for this application but I am comfortable with VBA and will probably need to
use Regular Expressions with VBA shortly as well.
Thanks for any assistance,
alr
I am trying to locate and move some sensitive data from some text fields. I
have isolated the records that have the problem with queries using the
following type of criteria:
Like “*acct[#] ###*â€
Like “*acct [#]###*â€
Like “*###-##-####*â€
Like “*##-#######*†etc.
Unfortunately this is mixed with needed data so the offending text above
must be removed from within the text fields and relocated. I am accustomed to
this kind of text manipulation with the InStr, Right, Left, and Mid commands
but this will not work with only patterns.
I understand that this can be done with Regular Expressions, which are
exposed through VB Script, neither of which I have ever used.
I would be most appreciative of a reference or description of how to access
VB Script and Regular Expressions for this use. Queries are probably easier
for this application but I am comfortable with VBA and will probably need to
use Regular Expressions with VBA shortly as well.
Thanks for any assistance,
alr