Email-like text
Input
{"pattern":"[\\w.-]+@[\\w.-]+\\.\\w+","flags":"gi","text":"Contact hello@example.com or support@example.org"}Output
hello@example.com, support@example.org
Try a JavaScript regular expression against sample text and inspect matches, indexes, capture groups, and replacement output.
Developer tools
Input
{"pattern":"[\\w.-]+@[\\w.-]+\\.\\w+","flags":"gi","text":"Contact hello@example.com or support@example.org"}Output
hello@example.com, support@example.org
Input
{"pattern":"(?<key>\\w+)=(\\d+)","flags":"g","text":"id=42 count=7","replacement":"$1: $2"}Output
id=42, count=7
Matches with indexes, capture groups, optional named groups, simple highlights, and an optional replacement preview.