You can try the following:
'(?:[^']+|'')+'
'
: Matches a literal'
.[^']+
: Matches one or more characters which are not'
.''
: Matches double''
.(?:[^']+|'')+
: Matches one or more occurrences of the preceding two patterns.'
matches the closing'
.