can someone help me construct an preg_match pattern to match this data?
I have data like this
ftp://username:password@server <br>
ftp://username:password@server <br>
ftp://username:password@server <br>
ect
i would like an preg_match to match each line as an variable, and use that in an foreach loop
thanks