ScrapeBox Forum
Phone Number scrape in the UK - Printable Version

+- ScrapeBox Forum (https://www.scrapeboxforum.com)
+-- Forum: ScrapeBox Main Discussion (https://www.scrapeboxforum.com/Forum-scrapebox-main-discussion)
+--- Forum: General ScrapeBox Talk (https://www.scrapeboxforum.com/Forum-general-scrapebox-talk)
+--- Thread: Phone Number scrape in the UK (/Thread-phone-number-scrape-in-the-uk)



Phone Number scrape in the UK - Delta - 07-28-2016

Hi fellow scrapers.... I am looking to scrape UK phone numbers and am trying to scrape these example URLs

http://www.harrisonpursey.co.uk/contact.html
http://www.harrishill.co.uk/Schools/ContactUs

this is the Regex I am trying to grab the uk tel numbers.


^((\(?0\d{4}\)?\s?\d{3}\s?\d{3})|(\(?0\d{3}\)?\s?\d{3}\s?\d{4})|(\(?0\d{2}\)?\s?\d{4}\s?\d{4}))(\s?\#(\d{4}|\d{3}))?$

Anyone got a better regex string? its not returning anything.

thanks