+
A bracket expression matches a **single** character that is contained within the brackets.
A bracket expression matches a single character that is contained within the brackets. - For example, [abc] matches "a", "b", or "c". [a-z] specifies a range which matches any lowercase letter from "a" to "z". These forms can be mixed: [abcx-z] matches "a", "b", "c", "x", "y", or "z", as does [a-cx-z].
- The - character is treated as a literal character if it is the last or the first character within the brackets, or if it is escaped with a backslash: [abc-], [-abc], or [a\-bc].
REGEX
✯
✯✯
✯✯
✯✯
✯✯
✯