My suggestion
\W(?:http://(?:www.)?)?([-a-z0-9_]+\.)+(com|net|br)\W
Tested on your message.
Catches all good options and does not catch the last three ones.
gTLD list can be extendedю
No need to put a dot in front of every gTLD as the ([-a-z0-9_]+\.)+
construct ensures that every word in URL (there can be really a lot of
them) is followed by a dot
Note: Will not catch URLs with subdirestories and forward slashes. If
it is required, pls reply.
On Jun 25, 8:27 pm, Rodusa <rlueneb...@gmail.com> wrote: