Email extraction
Finds addresses in a short support-style snippet without exposing any real personal data.
Sample inputs
- Regex Pattern
- [A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}
- Flags
- g
- Test Cases
- [email protected] => 1 / not-an-email => 0
Result: Good for verifying global matching against realistic but harmless contact-style data.
Remove the g flag after loading the example to see how the output changes when only the first match is returned.