ponda199 3 Posted June 20, 2017 Report Share Posted June 20, 2017 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 :-) Quote Link to post Share on other sites
ponda199 3 Posted June 20, 2017 Author Report Share Posted June 20, 2017 And the Ubot Regex Editor also says the Expression is right ... Quote Link to post Share on other sites
Solution Varo 28 Posted June 21, 2017 Solution Report Share Posted June 21, 2017 Hi, Do not activate the quotes button http://i.imgur.com/Z0Aebly.png Quote Link to post Share on other sites
ponda199 3 Posted June 21, 2017 Author Report Share Posted June 21, 2017 Damn :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! 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.