Re: Method to detect certain characters in column? - Mailing list pgsql-general

From Tommy Gildseth
Subject Re: Method to detect certain characters in column?
Date
Msg-id 486011E0.1090108@usit.uio.no
Whole thread Raw
In response to Method to detect certain characters in column?  ("Ian Meyer" <ianmmeyer@gmail.com>)
List pgsql-general
Ian Meyer wrote:
> So I have a column that contains usernames that have characters such
> as Ã(c)(R), for example: fuchÃ(c)r.. is there any way to find names
> with non A-Za-z0-9?

...WHERE col ~ '[^a-zA-Z0-9]';

Someone with a bit more regex fu can probably condense down the regex.

--
Tommy Gildseth

pgsql-general by date:

Previous
From: "Ian Meyer"
Date:
Subject: Method to detect certain characters in column?
Next
From: Antonio Perez
Date:
Subject: Re: Method to detect certain characters in column?