----- Original Message ----- > You need to esc the \b. Write \\b instead. Hi There's a QRegExp tester in the Qt examples. I've always found this very useful for checking that the regexp is valid and that it does as expected. It can also produce correctly quoted strings that you can copy and paste into your source code. A+ Paul