About this tool
Build and test JavaScript regular expressions against sample text with live match highlighting and a match count. Set flags like g, i and m. A fast way to get a pattern right before pasting it into code.
JavaScript regular expressions. Processing stops after two seconds or 5,000 matches. Match positions count UTF-16 code units.