Need help in extracting

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
new movies
Posts: 44
Joined: Thu May 26, 2011 8:14 pm

Need help in extracting

Post by new movies » Sat Nov 16, 2013 11:38 am

I am extracting a word like @sudeep1212
i want to extract only 1212 not @sudeep
How can i do that?
its simple but i cant figure it out
new movies
Posts: 44
Joined: Thu May 26, 2011 8:14 pm

Re: Need help in extracting

Post by new movies » Mon Nov 18, 2013 3:33 pm

any help tom sir?
User avatar
bobis
Posts: 364
Joined: Sat Sep 11, 2010 3:34 pm
Contact:

Re: Need help in extracting

Post by bobis » Mon Nov 18, 2013 10:01 pm

replace "@sudeep" with nothing, like this

Code: Select all

set !extract @sudeep1212
SET !VAR1 EVAL("var s=\"{{!EXTRACT}}\"; s.replace(\"@sudeep\",\"\");s;")
Get Best iMacros scripts at http://imacrosbot.com/
new movies
Posts: 44
Joined: Thu May 26, 2011 8:14 pm

Re: Need help in extracting

Post by new movies » Tue Nov 19, 2013 9:45 am

thnk u sir will try and check if its work
Post Reply