Find and Replace text?

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
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
dombrorj
Posts: 16
Joined: Thu Jan 28, 2010 4:38 am

Find and Replace text?

Post by dombrorj » Wed Feb 16, 2011 7:34 pm

Is there a way to find and replace text. For instance, if I have a url:

Code: Select all

http://mysite.com?var=abc&var2=def
I want to find the instance of 'abc' and replace it with 'xyz'

Thanks
Tom, Tech Support
Posts: 3546
Joined: Mon May 31, 2010 4:59 pm

Re: Find and Replace text?

Post by Tom, Tech Support » Tue Feb 22, 2011 12:48 am

Hi dombrorj,

Not automatically with macros code. You would have to extract the URL and then use script code to parse it and do the replacement.
Regards,

Tom, iMacros Support
dombrorj
Posts: 16
Joined: Thu Jan 28, 2010 4:38 am

Re: Find and Replace text?

Post by dombrorj » Tue Feb 22, 2011 1:02 am

Ok, gotcha. Thanks for the reply, Tom.
Post Reply