Test regular expressions live with highlighting and a pattern library.
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}
https?://[^\s/$.?#].[^\s]*
\b(?:\d{1,3}\.){3}\d{1,3}\b
\+?\d[\d\s\-\/]{6,}\d
\b\d{2}\.\d{2}\.\d{4}\b
#(?:[0-9a-fA-F]{3}){1,2}\b
<\/?[a-z][a-z0-9]*[^>]*>
^\s+|\s+$