No lookbehind necessary:
"([^"]|\\")*"
So: match quotes, and inside them: every character except a quote ([^"]
) or an escaped quote (\\"
), arbitrarily many times (*
).
More Related Contents:
- regex except string
- Regex for this {{mike}} {{michael}} {{jordan}} [duplicate]
- Regular expression to match a line that doesn’t contain a word
- What special characters must be escaped in regular expressions?
- Getting parts of a URL (Regex)
- How does Stack Overflow generate its SEO-friendly URLs?
- How do I make part of a regex match optional?
- Regex Match all characters between two strings
- Regular expressions: Ensuring b doesn’t come between a and c
- Searching for UUIDs in text with regex
- What regular expression will match valid international phone numbers?
- Collapse and Capture a Repeating Pattern in a Single Regex Expression
- How to check that a string is a palindrome using regular expressions?
- Using alternation or character class for single character matching?
- Regex to find repeating numbers
- Use regular expression to match ANY Chinese character in utf-8 encoding
- How to ignore whitespace in a regular expression subject string?
- Regular Expression Lookbehind doesn’t work with quantifiers (‘+’ or ‘*’)
- Regular expression search replace in Sublime Text 2
- Phone validation regex
- Random Text generator based on regex [duplicate]
- Microsoft office Access `LIKE` VS `RegEx`
- Why are there so many different regular expression dialects?
- Split text by columns in PowerShell
- How to replace a whole line with sed?
- Unix grep regex containing ‘x’ but not containing ‘y’
- is there something akin to regEx in applescript, and if not, what’s the alternative?
- Replace newlines with literal \n
- Regex to match an ISO 8601 datetime string
- How to capture multiple regex matches, from a single line, into the $matches magic variable in Powershell?