Pogledajte određenu poruku
Staro 13. 02. 2011.   #9
webarto
expert
Grand Master
 
Avatar webarto
 
Datum učlanjenja: 11.04.2010
Poruke: 998
Hvala: 141
959 "Hvala" u 153 poruka
webarto is on a distinguished roadwebarto is on a distinguished roadwebarto is on a distinguished roadwebarto is on a distinguished roadwebarto is on a distinguished roadwebarto is on a distinguished roadwebarto is on a distinguished roadwebarto is on a distinguished road
Default

Isto što i...

PHP kôd:
preg_replace('/[_ ]/''-'$string); 
Delimiter.

Da bi mogao dodati flags poslije toga recimo

PHP kôd:
preg_replace('#[_ ]#is'... 
Mislim da imaš zagradu viška

edit: dinke je brži
webarto je offline   Odgovorite uz citat
"Hvala" webarto za poruku: