Citace Původně odeslal Miiisa
kód:
$pattern = "/(\w+) (\d+), (\d+)/i";
$replacement = "\${1}1,\$3";


a co znamenaj ty haky v tom $pattern
jak to tamnacte ten text
ja chapu str_replace,ale tohle absolutne ne...
http://www.php.net/manual/en/referen...ern.syntax.php

http://zvon.org/other/PerlTutorial/Output/index.html

http://www.regularexpressions.info/

Studuj