hi, i need a little help ,
how i must rewrite this code:
$viesti = eregi_replace('
((f|ht){1}tp://)[-a-zA-Z0-9@:%_\+.~#?&//=]+)',
'\\1', $viesti);
$viesti = eregi_replace('
[[:space:]()[{}])(www.[-a-zA-Z0-9@:%_\+.~#?&//=]+)',
'\\1\\2', $viesti);
for to eliminate (only) the "\" in the messages?
for exemple; if i write "i'll be there" ,appears " i\'ll be there" and
i don't like it ! i prefere "i'll be there" without "\" .
thanks
how i must rewrite this code:
$viesti = eregi_replace('
((f|ht){1}tp://)[-a-zA-Z0-9@:%_\+.~#?&//=]+)','\\1', $viesti);
$viesti = eregi_replace('
[[:space:]()[{}])(www.[-a-zA-Z0-9@:%_\+.~#?&//=]+)','\\1\\2', $viesti);
for to eliminate (only) the "\" in the messages?
for exemple; if i write "i'll be there" ,appears " i\'ll be there" and
i don't like it ! i prefere "i'll be there" without "\" .
thanks
Comment