gavner25 1 Posted October 1, 2019 Report Share Posted October 1, 2019 Hi, see this link here https://www.loom.com/share/a9914eebcbc74aa38386a9f41e988937 How can i delete the domains containing the word google from the list? I searched for older posts regarding this but i didnt get the solution. Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted October 1, 2019 Report Share Posted October 1, 2019 I put your exact title plus "ubot" in google, it's better than forum search. https://www.google.com/search?q=ubot+How+To+Delete+Certain+Domain+From+List&rlz=1C1AVFC_enUS868US868&oq=ubot+How+To+Delete+Certain+Domain+From+List&aqs=chrome..69i57j0j69i60l4.1653j0j7&sourceid=chrome&ie=UTF-8 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted October 1, 2019 Report Share Posted October 1, 2019 clear list(%urls) add list to list(%urls,$list from text("https://www.google.ocm/lsdjflsdjkflsjdlfsjdlf-df/sdfs- https://www.facebook.ocm/lsdjflsdjkflsjdlfsjdlf-df/sdfs- https://google.ocm/lsdjflsdjkflsjdlfsjdlf-df/sdfs- https://twitter.ocm/lsdjflsdjkflsjdlfsjdlf-df/sdfs-",$new line),"Delete","Global") clear list(%cleaned urls) add list to list(%cleaned urls,$list from text($replace regular expression(%urls,".*google.*",$nothing),$new line),"Delete","Global") alert(%cleaned urls) one of the easier ways if you have $replace regular expression available in your ubot edition. Regards,Nick Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted October 1, 2019 Report Share Posted October 1, 2019 uploaded ubot fileremove domain from list.ubot Quote Link to post Share on other sites
gavner25 1 Posted October 1, 2019 Author Report Share Posted October 1, 2019 Many thanks for your help on this one. I'll try it out 1 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted October 1, 2019 Report Share Posted October 1, 2019 You are welcome! 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.