Hi friends,
usually I don't have problems with such a seemingly easy one, perhaps I'm simply mind-blocked but:
I need to find all underscore-connected words in a text and don't know how!![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
Example for the strings i need to find:
{ABC_here_comes_some_variable_name12&23}
Yes: the opening and closing curly brackets enclose ALL these strings.
No: this is nothing special, in fact they enclose ALL strings, including thos I do not wish to find (which are the vast majority)
As you can see, these strings also may contain the ampersand character as well as numbers.
Can you please help me find an appropriate wildcard search pattern - or regex search pattern - to loop through my text and highlight all these strings?
Working on Word XP.
Can also be VBA.
Thanks a lot!
Andy
[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
usually I don't have problems with such a seemingly easy one, perhaps I'm simply mind-blocked but:
I need to find all underscore-connected words in a text and don't know how!
![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
Example for the strings i need to find:
{ABC_here_comes_some_variable_name12&23}
Yes: the opening and closing curly brackets enclose ALL these strings.
No: this is nothing special, in fact they enclose ALL strings, including thos I do not wish to find (which are the vast majority)
As you can see, these strings also may contain the ampersand character as well as numbers.
Can you please help me find an appropriate wildcard search pattern - or regex search pattern - to loop through my text and highlight all these strings?
Working on Word XP.
Can also be VBA.
Thanks a lot!
Andy
[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell