Help for Regex With Curly Quotes

I’ve been working on text in Textilus, which insists on using straight quotes. So I need to convert these into curly quotes. Someone gave me this regex:


But, the problem is that it also picks up all the following spaces and character returns. How do I exclude these spaces and returns? Haven’t found the answer by googling yet. And its been years since I worked with regexes . . .

Format > Convert > Quotes to Smart Quotes won’t do what you need?

Oh, dooh!