1

I've looked all over Stack-Overflow and Google for a simple REGEX for MySQL that satisfies the following requirements:

  • Finds all rows with a Non English Characters (ö, etc)
  • Match any part of the column not just the first or last
  • Allowed characters are anything but foreign characters (acceptable: _, A-Z, 0-9, # , " ' ( ) - @)

Any suggestions?

1

1 Answer 1

4

Try this

SELECT * FROM tableName WHERE NOT columnToCheck REGEXP '[A-Za-z0-9]';
Sign up to request clarification or add additional context in comments.

2 Comments

This is a very useful answer

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.