Warning preg_replace() Unknown modifier
Scris: Vin Iul 04, 2014
Primesc eroarea :Warning: preg_replace(): Unknown modifier '(' in
Linia respectiva:
Linia respectiva:
Cod: Selectaţi tot
$text = preg_replace('([[:space:]()[{}])(www.[-a-zA-Z0-9@:%_\+.~#?&//=]+)',
'\\1<a href="http://\\2" target="_blank" rel="nofollow">\\2</a>', $text);