Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Php PHP Regular Expression

 
 

Share on Google+Share on Google+

PHP Regular Expression

Advertisement
Regular expression in PHP allows finding and replacing a particular string in PHP. Especially PHP regular expression is used to validate form and compare strings etc.

PHP regular expression allows programmer to perform various task like comparing, finding and replacing a particular type of strings. Using Regular expression one can easily validate user form or perform complex manipulations between strings.

PHP Regular expression also allows you to validate a email, phone numbers and zip codes etc. In short we can say that it is a pattern-matching functionality that allows you to match, find, replace or divide strings in small chunks.

There are basically two types of PHP Regular Expression.

  • POSIX Regular Expressions
  • PERL Style Regular Expressions

PHP Examples

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 18, 2013

Related Tutorials

Discuss: PHP Regular Expression  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com