I want a regex that will match for example 'panic can''t happen' as panic can''t happen. Double single quotes are just allowed if they're next to each other, 'panic can't' happen' sgould be divided into two strings, panic can and happen.
I got \'[^\']*[\'\']?[^\']\' so far but it won't work as expected.
Thanks!