Online tool to test regular expressions in JavaScript
Tool to try methods of the RegExp JavaScript object and check the syntax of regular expressions.
Enter a regular expression in the input field at right, and make use of
the operators at bottom if you need for help.
The expression will be applied to each of the four text at left that you can
modify too.
- Click on Test to verify that the texts match the expression (method test of RegExp).
- Click on Search to get the list of parts of the text that match the expression (method exec of RegExp). The results replace the text, that will be displayed again after a short delay.
- Click on Clear to blank the input field of the regular expression.
- Click on Undo to retrieve the formula before the last change.
Generic codes : Space Digit Alphanumeric |
Ignore case: General: Multilines: |
Special character: \t \v \r \f \n |
Regular Expression in JavaScript. The tutorial.
© 2008-2012 Xul.fr