Jump to content
UBot Underground

My "find Regular Expression" Is Not Working Properly ?!


Go to solution Solved by Varo,

Recommended Posts

Hi folks ;-)


it seems my "find regular expression" is not working properly.

i tried to simply scrape a url from a text... (just for testing)

On this RegExp Test Site my Expression is working right, but in UBOT it doesn't give me a result...

http://regexp-evaluator.de/evaluator/90f8c5f041c28f0374a0482df0062862/#ergebnis

 

MY UBOT CODE:

set(#link1,$find regular expression("Hier schau mal das ist ein toller <a href=\"http://www.web.de/\" class=\"\">Link</a>","\"http:\\/\\/.*\\.de\""),"Global")

Maybe someone has similar problems?! or do i made something wrong?

Thanks :-)

post-15109-0-99791500-1498002437_thumb.png

Link to post
Share on other sites
Damn :D:D

Thanks mate!

 

Sometimes things are that easy ;-)

 

My fault... i looked in the Ubot WIKI (http://wiki.ubotstudio.com/wiki/Find_Regular_Expression) and read "To keep UBot Studio from parsing the regex as a math expression, simply click the "" (quotes) button under Pattern Text." so i thought i have to set it in quotes always....

 

Thanks again!

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.

Guest
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.

Loading...
×
×
  • Create New...