Hi, see this link here
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.
Jump to content
Posted 01 October 2019 - 06:55 AM
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.
0 members, 0 guests, 0 anonymous users