DEV Community

Discussion on: Regex Cheat Sheet

Collapse
 
adityasharan01 profile image
Aditya Sharan

I think you forgot to put what is the meaning of "gi" or "ig" in regular expression
For other folks out there
g modifier: global. All matches (don't return on first match)
i modifier: insensitive. Case insensitive match (ignores case of [a-zA-Z])