Problem solve Get help with specific problems with your technologies, process and projects.

Validating postal code spaces

I have a MySQL database with records that were imported previously for validation. I'd like to locate all Canadian postal codes without a space between the character sets and replace them with a space. For example, A1A2B2 would turn into A1A 2B2. Where can I learn how to do this?
You would be better off removing spaces from the rows that do have spaces. The space is not part of the postal code and can be added later when needs be.

Dig Deeper on Linux servers

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.