#(^|\s|\()((http(s?)://)|(www\.))(\w+[^\s\)\<]+)#i 

google.ru - not supported

www.google.com - supported

What to fix in the regular season to support the first option?

  • 3
    what does normal mean and what does text mean? - zb '

1 answer 1

 #(^|\s|\()((http(s?)://)|(www\.)?)(\w+[^\s\)\<]+)#i 

should take off