I'm a little bit confused with regexp search and replace in phpstorm.
I'd like to replace this kind of text _("any_text") by _('any_text').
I've entered the following pattern : (_\("(.*)"\))
It finds correctly this kind of text, but, in the case i have this text two (or more) times on the same line (eg echo _("first_text") . ' : ' ._("second text") ), the found text by phpstorm is _("first_text") . ' : ' ._("second text"), not only _("first_text") (and after _("second_text") )
The second problem is that i can't find the solution to replace only the double quotes (only in this kind of text) by the single quotes.
We're is my mistake and what is the solution for finding and replacing correctly ?
Thanks by advance