Mitchel's Forums

Subject: Will this tool replace HTML code?
Prev Next
You are not authorized to post a reply.

AuthorMessages
evsterUser is Offline
New Poster
New Poster
Posts:2

08/06/2008 2:15 PM  

I see that the Text/HTML replacement module can replace text just fine, but I need to search through each module and replace a bit of HTML code. It does not seem like this is possible. I am missing something? Will this feature be included in future versions? Any help and advice would be much appreciated!

Thank you!

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5607

08/06/2008 2:21 PM  
Right now it will directly match, therefore if you need to change something and you know the EXACT spacing it will replace it.

However, it is not in the current version possible for it to make matches with varying spaces etc.

The next version of the module is being designed to support RegEx search options for the "Look For" field, allowing for more robust replacements to occur.

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
evsterUser is Offline
New Poster
New Poster
Posts:2

08/06/2008 2:40 PM  

Thanks for the tip. It seems to be working for exact replacement of HTML excerpts as you said, but I am having trouble getting it to recognize quotes.

 

For example, I am trying to change all insteances of:

target="_1"

to

target="_newname"

 

It works if I do a search for _1 alone, but there are other isntances of _1 occuring that I do not want to overwrite. I would like to be able to search for the entire phrase: target="_1" if possible.

Thanks!

 

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5607

08/06/2008 2:45 PM  
It should work to match on "_1", unless you happen to have directional quotes inside the individual entries.

I would need to see the database entry that you are searching for to truly identify the issue.

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
You are not authorized to post a reply.



ActiveForums 3.7