hi mate. i have problem about REGEX
this is my simple code
<?php $teks="hi whats up? how are you?"; $replace=preg_replace("/(you)/i",'<span style="background:yellow;">\1</span>',$teks); echo "$replace"; ?>
what the mean \1 ? its not give effect for my text..
if i change the value to \2, the text has change..