Hi Pyro
Sorry, ... I missed your answer.
Thanks.... that works just as I wanted it to!
The arguements used in this fnction
preg_match_all("/((?:http|ftp)s?:\/\/[-a-z0-9]+(?:.[-a-z0-9]+)+(?:[-\w:@&?=+,.!\/~'%#$](?<![.,?!]))?)/i", $string, $matches);
are confusing to me .... namely /((?:http|ftp)s?:\/\/[-a-z0-9]+(?:.[-a-z0-9]+)+(?:[-\w:@&?=+,.!\/~'%#$](?<![.,?!]))?)/i
Can you help explain this or point me to somewhere I can read up on it. I don't need it for the problem I have posted as you have solved it nicely for me .... but its obvious this is the next place I need to go with my php education 🙂
Best wishes .... Fizz