fernando534 0 Posted April 18, 2018 Report Share Posted April 18, 2018 Hi all,Trying to scrape google search results for emails but results are coming back wrapped in <em> tags. For instance, the email "fievet.pharmacy@yahoo.com" shows up in the html code as fievet<em>.pharmacy</em>@<em>yahoo</em>.<em>com</em> So whats the best way to go about doing this using regex? Thanks in advance! Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted April 18, 2018 Report Share Posted April 18, 2018 have to regex out the email addresses, I have a software that I currently have that does this vary thing Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted April 18, 2018 Report Share Posted April 18, 2018 orYou can get the outerHTML/innderHTML and just $replace the <em> and </em> tags with nothing. or if your result is with tags then $relplace them. Many ways to do things in UBot. Regards,CD Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.