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);
but it doesn't work and i bet that my weak knowledge in regexp is the problem Best Regards