A regular expression (regex for short) is a special text string for describing a search pattern. For example you could use the regular expression /^[A-Z0-9._-]+@[A-Z0-9][A-Z0-9.-]{0,61}[A-Z0-9]\.[A-Z.]{2,6}$/i to check if the user entered a properly formatted email address. If you've got a complicated RegEx you are trying to get right, use this utility to test it.

Example : Following example will search for word php in given string. The "i" after the pattern delimiter indicates a case-insensitive search.

Regular expression - /php/i String - PHP is the website scripting language of choic

Regular Expression Match Tool © Dev Mechanic™

Regular Expression
Enter regular expression

Enter string to compare

Enter Captcha To Continue
To prevent spamming, please enter in the numbers and letters in the box below

Report Problem with Tool.

Back To Webmaster Tools

Go To Small Business Web Design Home