I was trying to get all quoted (" or ') substrings from a string excluding the quotation marks. I came up with this:
"((?:').*[^'](?:'))|((?:\").*[^\"](?:\"))"
For some reason the matching string still contains the quotation marks in it. Any reason why ?
Sincerely, nikita.utiu.