Note :
left double quotation (") = &ldquo
right double quotation (") = &rdquo
left single quotation (') = &lsquo
My current regex is this
(?
It matches the &lsquo in here (which is right):
&ldquoThis is a sample&rdquo &lsquosample text
It also matches the &lsquo in here (which I don't want to happen because the single quote is inside the left and right double quote):
&ldquoThis &lsquois a sample&rdquo
How can I write a regex that will match every &lsquo that are NOT inside the left and right quotation
Thanks for all your help!
解决方案
If I understood ur question..This may be what you want
(?