Page 1 of 1

global serch using "*"

Posted: Mon Jan 31, 2011 11:40 pm
by julianoddy
I have thousands of html files with different names in them eg
eric%20bagan
benjamin%20bagby

I wish to change the names to
eric_bagan
benjamin_bagby

I have tried using find exactly with pattern
*%20*
replace with
*_*

to no effect. I know i am being stupid but please help with very simple explanation

Re: global serch using "*"

Posted: Tue Feb 01, 2011 2:10 pm
by DataMystic Support
You could just search for
%20
and replace with
_

Or, use an EasyPattern search/replace for
[ capture(1+ letters ) ]%20[ capture(1+ letters ) ]
Replace with
$1_$2

Or, use a Perl Pattern search/replace for
(\w+)%20(\w+)
Replace with
$1_$2

Re: global serch using "*"

Posted: Tue Feb 01, 2011 8:13 pm
by julianoddy
Problem solved. What a fabulous level of support by DataMystic.

Wonderful Product. Wonderful Company