هذا هو الكود المثال للphp "name"=>"هنا نص انجليزي متغير يختلف من سطر لاخر لانه سطور يتم ترجمتها", ,"desc" => "Set default welcome message text" ,"id" => "wd_default_welcome_message" ,"std"=> "Default welcome message!" ,"type" => "text" وهذا كود ال#C بعد التعديل كي يتناسب مع الفكرة ولا ادري التعديل صحيح ام لا ولكن البرنامج يعمل ولكن لا يقم بتغيير اي شئ var input =@"(""\""name\""=>"""; Regex rgx = new Regex(@"""name""\s*=>\s*""([^""]+)""\s*,"); string result = rgx.Replace(input, @"""name"" =>__( ""$1"", ""$world""),"); return Source; وهذه توضيح اكثر للفكرة