Basic PCRE expression to omit a double quoted substring within a string
In e.g. the string, ‘aaa”bbb”ccc’, I am trying to craft a basic PCRE-style regular expression that will return only ‘aaa’ and ‘ccc’, so as to leave out the double quoted “bbb”. If the string contains no double quotes, e.g. ‘aaabbbccc’, then the expression should just return that string, ‘aaabbbccc’. I am trying the following: