JSFiddle - React, Tailwind, and code Playground

by joshmoto

JavaScript

console.log(/^([A-HK-PRSVWY][A-HJ-PR-Y])\s?([0][2-9]|[1-9][0-9])\s?[A-HJ-PR-Z]{3}$/.test('GN02 FGF'));