Dear Wysota,


Thanks for the reply.......Actually i have done the validation something like this.........Just look the code phrased below

Qt Code:
  1. QRegExp rx("([A-Za-z][A-Za-z][0-9][0-9][A-Za-z][A-Za-z][0-9]+)/([A-Za-z]+)");
  2. QValidator *validator = new QRegExpValidator(rx, this);
  3. ui->lineEditVehicleNumber->setValidator(validator);
  4. qDebug()<<"The Vehicle number is"<<rx;
To copy to clipboard, switch view to plain text mode 



But actually i am getting the format which i wanted to have numbers at last but im not satisfied with the coding that i have done......Can anyone remodify it......Thanks in Advance......Any solution would be appreciable.


Regards,