🔰special characters
🚧 under construction
Last updated
🚧 under construction
Last updated
JS ⟩ value ⟩ object ⟩ regex ⟩ pattern ⟩ special characters
.
- any character character set.
?
- repeat 0 ~ 1, or lazy.
+
- repeat 1 ~ ∞.
*
- repeat 0 ~ ∞.
^
- beginning anchor, or invert a set character set.
$
- end anchor.
\
- escape.
/
- delimiter for regex in JS, for example: /abc/
.
()
- group.
[]
- ranges, alternation, character set.
{}
- times to repeat.
|
- alternation (or).