Und was ist mit den Domains die kein www drin haben wie z.B.
http://unisingles.de???
OK! so gehts:
$str = ereg_replace('(http://)?([^[:space:]$]+)','http://\2', $str);
							
						
					http://unisingles.de???
OK! so gehts:
$str = ereg_replace('(http://)?([^[:space:]$]+)','http://\2', $str);
 
          
Kommentar