News Feed
Jobs Feed
Sections




News Archive
NETTUTS.com:
Advanced Regular Expression Tips and Techniques
April 19, 2010 @ 09:47:04

NETTUTS.com has posted an advanced guide to regular expressions that just happens to use the PHP PCRE functions to do the matching.

Regular Expressions are the Swiss Army knife for searching through information for certain patterns. They have a wide arsenal of tools, some of which often go undiscovered or underutilized. Today I will show you some advanced tips for working with regular expressions.

They have it broken out into several tips including:

  • Using Callbacks
  • Lookahead and Lookbehind Assertions
  • Filtering Patterns
  • Named Subpatterns

There's also a section called "Don't Reinvent the Wheel" with a few handy expressions to do common things like parse [X]HTML and validating form input.

0 comments voice your opinion now!
advanced regularexpression regex tutorial tip


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: AJAX Chat Part Tutorial 6 : Updating the User List

SitePoint Server-Side Essentials: Introducing Joomla

VoidWeb.com: PHP Clustering using Apache httpd mod_proxy

PHPBuilder.com: Getting Started with Jenkins for PHP Developers

DevChix: Getting started with YUI's Connection Manager in Rails and PHP


Community Events











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


conference introduction interview development database series testing release community opinion object tool functional zendframework2 example language podcast code composer framework

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