botoballs 2 Posted October 31, 2014 Report Share Posted October 31, 2014 Hi Guys,Ok I am trying to understand regex but I cannot understand how to use it.This is what I'm trying to scrape. and show the full url in debugger window.index.php?view=article&t=668 So far this is what I have.==begin code===clear list(%urls)add list to list(%urls, $list from text($scrape attribute(<onclick="window.open('index.php?view=article&t=668=*','_blank'); donte_disabledclass('*');">, "value"), $new line), "Delete", "Global")}===End Code=== Anyone can point me to a specific tut to scrape urls using regex that would be great. Or help me with this one only. Thanks Quote Link to post Share on other sites
UBotDev 276 Posted October 31, 2014 Report Share Posted October 31, 2014 I would suggest you learn it, since it will open a lot of doors for you...just start with tutorials you can find online. Else I think this is the code/regex you are looking for: add list to list(%urls, $list from text($find regular expression($scrape attribute(<onclick="window.open('index.php?view=article&t=668=*','_blank'); donte_disabledclass('*');">, "value"), "(?<=window\\.open\\(\')[^\']+"), $new line), "Delete", "Global") Quote Link to post Share on other sites
botoballs 2 Posted November 1, 2014 Author Report Share Posted November 1, 2014 Most of the video tuts are old videos of version 3. I need a newer revised one. Quote Link to post Share on other sites
arunner26 51 Posted November 1, 2014 Report Share Posted November 1, 2014 botoballs,I really like Nike's training course on REGEX and his software to build expressions, check it out here: http://www.ubotstudio.com/forum/index.php?/topic/15905-sell-learn-regular-expressions-video-course-2-hours-of-content/ Quote Link to post Share on other sites
BobbyP 8 Posted November 1, 2014 Report Share Posted November 1, 2014 One of the best and free tools to learn and create regex ishttp://www.ultrapico.com/Expresso.htm 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.