Regular Expression Test Tool

Enter regular expressions and test text to verify that regular expressions function properly.

Sponsored
Loading...

Input

Results

Test results will be displayed here.

Reference: Common Regular Expression Patterns

  • Email address: \b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b
  • URL: https?://(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)
  • Date (yyyy-mm-dd): \d{4}-\d{2}-\d{2}
  • IP Address: \b(?:\d{1,3}\.){3}\d{1,3}\b

How to Use

  1. Enter the regular expression pattern you want to test in the "Regular Expression Pattern" field.
  2. Enter the string you want to match with the regular expression in the "Test String" field.
  3. Click the "Run Test" button to display the matched results.
  4. Use the "Clear" button to reset inputs and results.
Sponsored
Loading...
Sponsored
Loading...

About Favorites

Your favorites are saved locally in your browser and never sent to our servers for your privacy.