Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(isLicensePlate): added License Plate Regex for en-SG #2331

Closed
wants to merge 2 commits into from

Conversation

Sabarinathan07
Copy link
Contributor

Added validation for Singapore license plates.

The below are some valid Singapore license plates. Singapore license plates follow a format of three letters, four numbers, and a letter.
SGX 1234 A
SMD1234Z

Refrences:
Wikipedia/Vehicle_registration_plates_of_Singapore

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant