View Single Post
 
Old 04-11-2012, 10:35 AM
sbatson5 sbatson5 is offline Windows 7 64bit Office 2007
Novice
 
Join Date: Apr 2012
Posts: 1
sbatson5 is on a distinguished road
Default Help with replacing text with wildcards

I have a document with a long list of variables. I deleted all whitespace to push the characters together, and now I am trying to use wildcards to delete the characters I don't need.

For instance, I have:

Q5.14.begetablessuchaspumpkincarrotsyellow/orangesweetpotatoripemangoesorpapayaspassionfruiti lemabogakarotiviazivitamumaembemapapaiaumapesheni
Here, only Q5.14.b should stay. Things similar to this happen. So, I thought of using a wildcard in the Find and Replace dialogue. The wildcard is:

.b*
and is replaced with:
.b

I try this, but it doesn't delete the extra letter in the example above. What would the proper syntax be for 'delete all characters after a period and the letter b?'
Reply With Quote