07-28-2016, 12:29 AM
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
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