PDA

View Full Version : Help on using wild card in find and replce option



vpsekhar
02-13-2015, 06:23 PM
Hi Team,
This is the first time I am working on wild card option in find and replace functionality and I need your help on this.

I got one tedious task of replacing dot along with 2 extra spaces. For that I opened find and replace dialogue box and selected the option of wild cards. In Find box I entered.[a-z]

Now this one finding all the instances of . followed by text, now my I am not getting what should I give in replace box so that . is replaced with 2 spaces without any changes in existing text.

gmayor
02-14-2015, 03:23 AM
See http://www.gmayor.com/replace_using_wildcards.htm

If I understand the requirement correctly, search for
.([a-zA-Z])
replace with
[space][space]\1

where [space] is an actual space and not the text equivalent.