Lookup
Tools for looking up information about various entities.
Live-test JavaScript regular expressions in your browser. As you type, matches are highlighted below and a detailed text report is generated for copying or sharing.
\. for a literal dot).\d digits, \w word chars, \s whitespace. Uppercase negates: \D, \W, \S.^ start, $ end; with m they apply per line.a* 0+, a+ 1+, a? 0/1, a{2,5} range. Add ? to make non-greedy: +?, *?.(...) capture; (?:...) non-capture; named capture (?<name>...).a|b matches either side.(?=...) ahead, (?!...) neg-ahead, (?<=...) behind, (?<!...) neg-behind.g all matches, i ignore case, m multiline, s dotAll, u Unicode, y sticky, d indices.\b(\w+)@([\w.-]+)\.(\w+)\b\b(\d{4})-(\d{2})-(\d{2})\b\$\d+(?:\.\d{2})?u flag for modern text handling.(?: ) when you don’t need captured values.