I need a regex which will remove the unmatched quotation mark.I have an regex which will remove all the special characters except those between quotation mark.
[^\w\s'"](?=(([^']*'){2})*[^']*$)
this will perform the above mentioned process but allong with this i need to replace the unmatched quotation or apostrope mark.
Input=hai@@#hello'world@'today'
and output should be like hai hello 'world@' today
my above regex will work well except removing that odd apostrope.