How to deal with "" tags

  • Hello i have a question is it possible to strip a file of all text except thats between " "
    tags ?
    For example i have a file with allot of lines like this: I need to translate it just whats between the tags like to run it trough google translate but it does not handle the tags all that wel.

    $language[‘headers’][‘login’] = “Login”;

    i did find a regular expression to strip it all but then its the trick to replace all the code again but now with the translated lines.
    Any ideas ? (the file dus not confirm to .po standards :(

Log in to reply