I've got some old PHP code I'm refactoring. I'm changing from using old style escaping to using prepared statements. So I'm looking to get rid of stuff like this:
$ath_no = mysql_real_escape_string($csvEntry);
PHPStorm allows you to use regular expressions in find & replace.
You can this regular expression:
And the replacement should be: