Hello there i've finally made a good perfect language system and now am trying to fix my templates system to work with this new language system =P i want to replace to $tag['$thepreviousvalue'] so i made the following code
preg_replace("/<LANGUAGE value=\"^[a-zA-Z0-9_]{1,}$\">/si", ''. $langvals['$1'] .'', $data);
ama çalışmıyor ve ben regexp benim zayıf bilgi sorun olduğunu bahse girerim.