Is there a way to know where the blank space has to be, in an UK postal code, if the user doesn't write the postal code with the blank space?
For example, if the input is: EC1A1BB, W1A0AX, M11AE, B338TH, CR26XH, DN551PT
then the output must be: EC1A 1BB, W1A 0AX, M1 1AE, B33 8TH, CR2 6XH, DN55 1PT
.
Thank you