Replace text with EVAL all occurences

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
techimac
Posts: 287
Joined: Fri Feb 20, 2015 9:27 pm

Replace text with EVAL all occurences

Post by techimac » Wed Dec 12, 2018 2:44 pm

Not able to replace </p> <p>

Code: Select all

SET ARTICLE EVAL("var x=\"{{!EXTRACT}}\";x.replace(/<\/p> <p>/g,\"<BR>\");")
Please fix.
Post Reply