Hi all,
I need some help with formatting strings using either regexp (preferably) or VB functions Trim, InStr, etc. I've been trying to use regexp but have run into a wall trying to find a working expression.
Here is what I need to do:
Joan R. Platt convert to -> Joan|R|Platt
Lehman Business Trust convert to -> Lehman|Business|Trust
I need to (1) replace white space with pipe symbol "|" (2) remove any commas or periods found in the string (3) remove LLC or Inc if found in the string.
Any help is appreciated.
-B
I need some help with formatting strings using either regexp (preferably) or VB functions Trim, InStr, etc. I've been trying to use regexp but have run into a wall trying to find a working expression.
Here is what I need to do:
Joan R. Platt convert to -> Joan|R|Platt
Lehman Business Trust convert to -> Lehman|Business|Trust
I need to (1) replace white space with pipe symbol "|" (2) remove any commas or periods found in the string (3) remove LLC or Inc if found in the string.
Any help is appreciated.
-B