Jump to content
UBot Underground

Email Regex Different In Node Vs Code View

Recommended Posts

I've done this a million times, now I can't. Just trying to scrape emails.  :P


In an earlier version of Ubot, this regex code worked for scraping emails (NODE VIEW):


But in CODE VIEW I see this:


It's adding more slashes. What's going on? When someone says USE THIS REGEX code, do I paste it NODE or CODE view?


This regex code is supposed to scrape all variations of emails:


It doesn't work for me when I paste it in NODE view. When I paste it in CODE view, it says I have errors on char 65, 67, 71.


What does an email capture regex code look like before I paste it into NODE view, and what will it look like in CODE view?




OK, this works: http://www.rubular.com/r/nidQpOizwC


But that won't get any [at] or {AT} versions. (as in the long one above - anyone have that?)

Link to post
Share on other sites

The extra slash is an escape character - basically when you paste in node view you don't need to escape anything but when you switch to code view it will automatically escape some characters.


As for your regex maybe try this modification:

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...