Test and debug regular expressions with live match highlighting. Enter a pattern, flags, and input text to see matches instantly.
Regular expressions (regex) are patterns used to match character combinations in strings. Useful for validation, searching, and text manipulation.
/pattern/flagsg (global), i (ignore case), m (multiline)\d+ (digits), \w+ (words), ^abc (starts with abc)Use g flag for global search, i for case-insensitive, m for multiline.
Test with different patterns and flags to see how matches change.