View Single Post
Old 12-18-2013, 05:34 AM   #8
lampdev112
Registered User
 
Join Date: Dec 2013
Posts: 30
There are two ways to use regular expressions in php. One is the true PHP style in which case we have to use ereg() function and the other is to use Perl style syntax for our validations. In this case we have to use preg_match() function. In this tutorial we will use preg_match() because it is faster in most cases and also supports the most common regular expression syntax. It also gives us more capabilities, that we can use.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
lampdev112 is offline   Reply With Quote