Formatting
The library is a fixed menu, not a blank pattern box. Pattern defaults to emails: [\w.%+-]+@[\w.-]+\.[a-z]{2,} with flags gi. Against Write ada@example.test or skip. the only match is ada@example.test at index 6. The surrounding words are not matches. The other choices are urls, hashtags, mentions, numbers and phones.
You do not edit the expression on this page. If the email pattern is too loose or too tight for your list, copy the source from the result and take it to the tester, where flags and a replacement exist. The result JSON includes the source and the flags so you can see what actually ran. An empty match list is a real answer when the text has no email.
These patterns are practical, not RFC proofs. The email one does not implement the full address specification. The phone one accepts several common groupings and will also hit numbers that are not phone numbers. Treat a match as a candidate.
Pattern emails. Text: Write ada@example.test or skip.
pattern [\w.%+-]+@[\w.-]+\.[a-z]{2,}, flags gi, one match ada@example.test at index 6.
The source is part of the result so you can see the pattern you are trusting, instead of a label that only says emails.
No. It is [\w.%+-]+@[\w.-]+\.[a-z]{2,} with the gi flags. Quoted local parts, comments and IP domains are outside what it finds.
No. The menu is fixed. Paste the source into the regex tester to change flags, groups or a replacement.
The pattern ran and found nothing. That is different from an invalid pattern, which is an error on the tester.
emails, urls, hashtags, mentions, numbers and phones. URLs are http and https. Hashtags and mentions use unicode letters.