Hello,
I have a string like this:
This string may be 100 lines or 6 lines it changes every day, I need to get the links of each line after files/ . For example for this string i need to get each link : qjax83,chyusc,7tyskq etc.. Is there an easy way to get these ? I tried to use substring etc but it is not optimal. Maybe possible with regex ?
Thanks
I have a string like this:
B4X:
/var/www/xx.yy.com/public_html/files/qjax83: Win.Trojan.B-468 FOUND
/var/www/xx.yy.com/public_html/files/chyusc: Win.Trojan.B-468 FOUND
/var/www/xx.yy.com/public_html/files/7tyskq: Win.Trojan.B-468 FOUND
/var/www/xx.yy.com/public_html/files/bpjeu5: Win.Trojan.MSShellcode-7 FOUND
/var/www/xx.yy.com/public_html/files/q766jv: Win.Trojan.MSShellcode-7 FOUND
/var/www/xx.yy.com/public_html/files/lhie42: Doc.Malware.Valyria-6728957-0 FOUND
This string may be 100 lines or 6 lines it changes every day, I need to get the links of each line after files/ . For example for this string i need to get each link : qjax83,chyusc,7tyskq etc.. Is there an easy way to get these ? I tried to use substring etc but it is not optimal. Maybe possible with regex ?
Thanks