Regular expressions help

Hi all,

This is a part of my regular expression :

(\\".+\\")

matching double quotes followed by anything then double quotes .

I want to edit it so that it matches double quotes followed by anything ( But not single quotes) then double quotes .

Can some help

Your pattern is almost there, though instead of using the period to denote any character allowed, you should use a character class instead. You can use a caret (^) at the start of the character class to specify any characters you do not want to match (in this case, it is a single quote):


#(\\"[^\\']+\\")#