Question What are the regex coding of the following shown below?

Abdallah1

New member
Joined
Jun 17, 2009
Messages
2
Programming Experience
1-3
i am not sure how to use those as a regex coding so basically i need help with translating the following shown below into regex coding: -
(e.g. car as regex = new regex(" ") )

1. Car Licence Number (e.g.1ASD324)
2. Date(e.g. dd/mm/yy)

Thats all i have to know.

Thank you :)
 
Hello.

If the license numbers are always the same it would be something like "[0-9]{1}[a-zA-Z]{3}[0-9]{3}".

The date is a little bit harder..."([0-2][0-9]|[01])/([0-9]?|1[0-2])/([0-9]{2})"

Bobby
 
Back
Top