COUNCIL SEARCH
Enter UK Postcode: Find Borough/Council × OK document.querySelector('form').addEventListener('submit', function(event) { event.preventDefault(); const postcode = document.getElementById('postcode').value; if (!/^[A-Za-z][A-Za-z]?\d\d?[A-Za-z]?\s*\d[A-Za-z]{2}$/.test(postcode)) {