Here is the Regular Expression.
QRegExp rx("^(?:[7-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9])$");
Above Regular Expression I Dont Want Repeat More Than Four Times In LineEdit.
Ex:7 22222 2222
Kindly Do NeedFul..
Here is the Regular Expression.
QRegExp rx("^(?:[7-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[0-9])$");
Above Regular Expression I Dont Want Repeat More Than Four Times In LineEdit.
Ex:7 22222 2222
Kindly Do NeedFul..
Last edited by mandlakoteswar2011; 21st September 2015 at 08:12.
Bookmarks