Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using *.* with Find and Replace ???

Status
Not open for further replies.

Happy100

Technical User
Jun 25, 2004
102
GB
Hi

I have this piece of code (below) on many pages, but on each page the AB11CD and Template are different values -

<a href=" target="multimap">
Map Here:</a>

I want to be able to find and replace it with nothing, ie. remove it
I thought I read once that the *.* is used for various code, used with Regular Expression,
but I can't get it to work?

I'm searching for -

<a href= target="multimap">
Map Here:</a>

and replacing with nothing to delete it.

Any pointer to where I'm going wrong would be very much appreciated.

Many thanks

Happy.
 
vbkris do you know any sites that detail regular expressions that can be used?

Tezdread
&quot;With every solution comes a new problem&quot;
 
take a look at the help in DW, it gives u a list of RegEx that can be used in DW.

also try google for free REgExp tutorials.

by the way, did my code work???

Known is handfull, Unknown is worldfull
 
Hi vbkris

Thank you for the find search string, sadly it wouldn't find anything on the pages, though I did get it soted using a specific tag find and replace.

Thank you very much for your help anyway, looks like these other links you have provided for Tezdread should help me as well.

Many thanks again.

Happy.
 
>>Thank you for the find search string, sadly it wouldn't find anything on the pages, though I did get it soted using a specific tag find and replace

just one question, u did check the "Use regular expressions" option in the find and replace box right? it worked for me...

Known is handfull, Unknown is worldfull
 
Hi

Yep, I ticked the Regular expressions box, I think that the problem was that not all the code on the pages are in the same place. ie. some are spread over two lines and others on three.

So your string worked well the example I gave, but I didn't realise that the line spacing mattered.

Thanks again.

Happy
 
ah, now i get it...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top