Want a regex for validating Indian Vehicle Number Format?

前端 未结 11 970
隐瞒了意图╮
隐瞒了意图╮ 2021-01-31 21:35

Hello everyone here...

I need to build up a swing application related to vehicle registration and in which i want to do input the vehicle number of indian standard, like

11条回答
  •  庸人自扰
    2021-01-31 22:21

    If you are looking for number plate in substring then use the following regex

    .*?([A-Za-z]{2})(\d{2})([A-Za-z]{2})(\d{4}).*?
    

提交回复
热议问题