Re: [PHP] Match anything between two " that is not a " except if it is escaped...

2008-01-17 Thread Jochem Maas
mathieu leddet schreef: Hi everyone, I am struggling with regular expression trying to match strings delimited by double quotes, but taking into consideration that \" is not a string ending character. STFW for the concept "look behind assertion" - that is what you need to differentiate between

[PHP] Match anything between two " that is not a " except if it is escaped...

2008-01-17 Thread mathieu leddet
Hi everyone, I am struggling with regular expression trying to match strings delimited by double quotes, but taking into consideration that \" is not a string ending character. ---8<--- - $in = 'this is a string : "Hi everyone my na