Online Tool: Regex Generator RegExr – how to find regular expressions with web apps


With the really good online tool RegExr can be found easily matching Regular Expressions, which have been created by other users, as well as develop their own regular expressions.

With the PHP Regular Expression Tester the results can be very good test online:

Bsp: regular expression test for 3-digit numbers (not perfect, Leading zeros are not ignored).

Example 2: Email-Addresses validate glands

Regexr Email Validation Regex

On the Regexr page I have the following regular expression found:

/[a-z]+[a-z0-9]*\.?[a-z0-9]*@[a-z0-9]+\.?[a-z0-9]*/i

This expression must be converted for use in PHP:

[a-z]+[a-z0-9]*.?[a-z0-9]*@[a-z0-9]+.+[a-z0-9]*.

Thus, man can then PHP Regular Expression Tester perform the test:

 

PHP Regular Expression Tester: Email Validation Test

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>