Regex Query Tool

Available Regex Patterns:

1. Email Address:
   \b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b

2. URL (HTTP/HTTPS):
   \b(https?://[^\s/$.?#].[^\s]*)\b

3. IPv4 Address:
   \b((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b

4. Phone Number (US Format):
   \b\+?1?\d{10}\b

5. Date in YYYY-MM-DD Format:
   \b\d{4}-\d{2}-\d{2}\b

6. Time in HH:MM:SS Format:
   \b([01]?[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]\b

7. Credit Card Number (with optional hyphens):
   \b\d{4}-?\d{4}-?\d{4}-?\d{4}\b

8. Postal Code (ZIP Code) (US):
   \b\d{5}(-\d{4})?\b

9. Hexadecimal Color Code:
   \b#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})\b

10. Username (alphanumeric and underscores, 3-16 characters):
    \b[A-Za-z0-9_]{3,16}\b