PDA

View Full Version : Creating Regular Expression in Qt



Shreya_Qt
13th July 2018, 15:13
How can I form a regular expression in Qt so that I can match it against a string?

d_stranz
13th July 2018, 17:47
Start by reading the documentation for the QRegularExpression / QRegExp classes. QRegularExpression is preferred since it conforms more closely to the Perl regular expression syntax (http://perldoc.perl.org/perlre.html). Tutorial here. (http://perldoc.perl.org/perlretut.html)