How to use eval to search phone and extract

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
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
sadadadse
Posts: 1
Joined: Mon Oct 21, 2013 5:50 pm

How to use eval to search phone and extract

Post by sadadadse » Mon Oct 21, 2013 5:56 pm

Hello guys, I need help to extract phone numbers of a page, the numbers are in the format XX XXXX-XXXX I saw that the eval command to do something, can you help me create a code that extracts numbers phone in this format?

Thank you.
User avatar
cybmatrix
Posts: 38
Joined: Tue Dec 08, 2009 8:33 pm

Re: How to use eval to search phone and extract

Post by cybmatrix » Tue Jan 21, 2014 1:48 am

I've the same problem ...

The data extracted is in this format > PHONE NUMBER : 00112233
I need to filter only numbers, without spaces and words.

I think the parameter EVAL would solve this issue, but I don't know anything about Javascript code !!
PLEASE HELP.
Windows 7 PRO (64 bit)
Waterfox 51.0.1 (64 bit)
iMacros for FF 8.9.7
Post Reply