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

Regex — Example 198

Quick explanation + ready code for: Regex.

JMESPath Regex Back to examples
Back to language
Syntax: Regex in JMESPath. ID: #198

Code

const re = /[a-z]+/i;
console.log(re.test("DrSchool5"));

Notes

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