I don't like reinventing the wheel and this seemed like a pretty basic function. The same concept as thesetwo questions except specifically for QStrings? QRegExp has an escape function so I'm wondering if I've just overlooked the QString version or whether there's a good reason there isn't one.