DrSchool Learn coding, fast.
EN AR BN CS DE EL Search

Regex — Example 194

Quick explanation + ready code for: Regex.

SQL Regex Back to examples
Back to language
Syntax: Regex in SQL. ID: #194

Code

SELECT 'DrSchool20' REGEXP '[A-Za-z]+' AS ok;

Notes

You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests.