fixed reg expression for file export and some language files