botoballs 2 Posted July 13, 2014 Report Share Posted July 13, 2014 Hi How do I remove (in Bold) http://myspace.com/profile/?id=botoballs ?In attribute list to list I can't seem to find the solution. Quote Link to post Share on other sites
pash 504 Posted July 13, 2014 Report Share Posted July 13, 2014 alert($replace regular expression("http://myspace.com/profile/?id=botoballs", "\\?.*", "")) Quote Link to post Share on other sites
botoballs 2 Posted July 13, 2014 Author Report Share Posted July 13, 2014 alert($replace regular expression("http://myspace.com/profile/?id=botoballs", "\\?.*", "")) Could I do it automatically without alert ?This is what I got for fb. add list to list(%purls, $scrape attribute(<href=w"*?ref=br_rs&fref=browse_search">, "href"), "Delete", "Global") How to do remove "?ref=br_rs&fref=browse_search" after scraping the results? Quote Link to post Share on other sites
Gogetta 263 Posted July 13, 2014 Report Share Posted July 13, 2014 add list to list(%purls, $scrape attribute(<href=w"*?ref=br_rs&fref=browse_search">, "href"), "Delete", "Global") clear list(%purls_cleaned) loop($list total(%purls)) { add item to list(%purls_cleaned, $replace($next list item(%purls), "?ref=br_rs&fref=browse_search", $nothing), "Delete", "Global") } The urls will then be stored in %purls_cleaned. Quote Link to post Share on other sites
Pete 121 Posted July 14, 2014 Report Share Posted July 14, 2014 navigate("http://www.ubotstudio.com/forum/index.php?app=members&module=online&sort_order=desc", "Wait")clear list(%profiles)add list to list(%profiles, $list from text($replace regular expression($scrape attribute(<hovercard-ref="member">, "fullhref"), "\\?.*", $nothing), $new line), "Don\'t Delete", "Global")It could be done without the loop which would save on cpu power with lg lists 1 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.