01 / 05
Verifying text shapes
In input forms, you often need to check inputs: "digits only", "3 digits followed by 4 digits", or "letters only".
Checking character by character with loops is tedious. Regular Expressions (RegExp) give you a clean way to match text patterns.