Web Design Tutorials and Articles: Regex Modifiers in PHP

By Chrysanthus - About Me - E-mail this page - Add to My Favorites - Add to Blog List - See other blogs in Computers & Internet

Wednesday, April 8, 2009

Regex Modifiers in PHP

PHP Regular Expressions – Part V Introduction Matching is case sensitive. You may not know if what you are looking for is in lower case or upper case or has mixed cases. It is possible for you to make a case insensitive match. You need what is called a modifier for this. There are a good number of modifiers and each has its own purpose. We shall learn some of them in this part of the series. The i Modifier By default, matching is case sensitive. To make it case insensitive, you have to use what... Sign in to see full entry.

Previous: Regex SubPattern in PHP - New Entries - Next: Building a Regular Expression in PHP

Headlines (What is this?)