Thorough UK Postcode Validator with In/Out code capture groups
Published on Tue Mar 01 2022
A more thorough UK postcode validator tested against all UK postcodes on a regular basis, but excluding the special GIRO postcode case out of personal preference.
Additionally has capture groups for the In-code and Out-code sections.
Requires case insensitive matching.