php regular expression…weird behavior

xkadrianadrian

New Member
What's wrong in this expression? \[code\]echo preg_replace("/Condizioni/","ciao","<tr bla vla Condizioni");\[/code\]It does not return anything...Anyway It works when I remove "<" char...but I don't understand why...is it a special char, and if so what I i have to do to match it literally.Thank you...
 
Back
Top