Skip to content




regular expressions


Table of Content

regular expressions

A note to me: search "regex cheatsheet"

string only

https://stackoverflow.com/questions/6067592/regular-expression-to-match-only-alphabetic-characters

/^[A-Z]+$/i
/^[A-Za-z]+$/

/^\p{L}+$/u
\A\pL+\z
\A[^\W\d_]+\z