Python function to strip inline repr'd unicode strings
Yes, regexps were my first thought:

re.sub(r"u'([^']*)'?", r'\1', string)


Dissected:


A literal u'.
Then anything that is not a ' zero or more times: [^']*.
Store that for later retrieval: ([^']*).
End with an optional '.