Extracting URLs using regex :
Code: Select all
//sample text
let>text=rfuhroiurnfifnroi http://www.fish.com fuh3ifuh34ifurf http://www.chips.com
// it seems pattern looks for http://, not www. so we'll add in the http://
stringreplace>text,www,http://www,text
// Find URLS
RegEx>[Hyperlink],text,1,matches,num,0
// write it all to a file
Let>k=0
Repeat>k
Let>k=k+1
WriteLn>%USERDOCUMENTS_DIR%\url output.txt,result,matches_%k%
Until>k,num