News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

CatsWhoCode.com:
15 PHP regular expressions for web developers
July 28, 2009 @ 10:09:49

On CatsWhoCode.com today there's a new article listing fifteen handy regular expressions you might find useful in your day-to-day development (as well as a brief introduction to what regular expressions are).

Regular expressions are a very useful tool for developers. They allow to find, identify or replace text, words or any kind of characters. In this article, I have compiled 15+ extremely useful regular expressions that any web developer should have in his toolkit.

Here's just some of the expressions on the list:

  • Enlight a word from a text
  • Remove repeated words (case insensitive)
  • Matching a XML/HTML tag
  • Matching hexadecimal color values
  • Parsing Apache logs
0 comments voice your opinion now!
regular expression tip example


blog comments powered by Disqus

Similar Posts

Richard Thomas' Blog: Pjq becomes jQPie - jQuery PHP interface extension

Mikko Koppanen's Blog: ImagickPixelIterator is not read-only after all...

Chris Roane's Blog: The Last Few Years: What a PHP Programmer Has Learned

Leonid Mamchenkov's Blog: PHP regular expression to match English/Latin characters only

Knut Urdalen's Blog: ORM the manual way


Community Events

Don't see your event here?
Let us know!


example release opinion composer voicesoftheelephpant conference php7 framework api interview configure application introduction part2 performance symfony2 series community podcast laravel

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework