I have a javascript file with millions of lines. The problem is that IE doesn't support ,
(comma) followed by }
(curly close bracket).
In Notepad++ I'm able to find all the commas which are being followed by a curly close bracket, by using this regular expression: \,.*\}
.
But when the comma and the curly close bracket are not in the same line, the regex doesn't match it:
somestring,
}
Best Answer
All you need to do is check
. matches newline
in Notepad++ Search/Replace Search Mode:This will make the dot
.
in your regex match newline, so.*
will match any number of newlines.