Have you tried anything yourself? Did you decide not to bother reading QRegExp docs and ask here instead? Go read through the detailed description of QRegExp docs. The answer is there. The reference documentation is your number one resource. Read the docs first, then come ask here if problems occur...
Bookmarks