QRegExp with QLineEdit
Mobile and Embedded
4
Posts
3
Posters
1.7k
Views
2
Watching
-
How can I insert in a QLineEdit digits and letters but first 2 character I want to letters and then 3 digits and again 2 letters
For eg: AA122BD ? -
Hi,
You can use the QRegExpValidator class. If you're on Qt 5 then please consider using QRegularExpression