Prøv denne kode: SELECT * FROM table WHERE column REGEXP '^[A-Za-z0-9]+$' Dette sikrer, at alle tegn matcher.