<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 21 May 2013 02:08:48 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Noupe.com: Getting Started with PHP Regular Expressions]]></title>
      <guid>http://www.phpdeveloper.org/news/13093</guid>
      <link>http://www.phpdeveloper.org/news/13093</link>
      <description><![CDATA[<p>
Noupe.com has posted <a href="http://www.noupe.com/php/php-regular-expressions.html">a new guide</a> to getting started with regular expressions in PHP. Regular expressions can be one of the most powerful tools at your disposal when used correctly.
</p>
<blockquote>
The main purpose of regular expressions, also called regex or regexp, is to efficiently search for patterns in a given text. These search patterns are written using a special format which a regular expression parser understands.
</blockquote>
<p>
They cover some of the basics - special characters and some examples using them (like $, d, and *) - before getting into the preg_* functions in PHP. They also include some handy examples to validate things like US zip codes, email format validation and removing duplicated words in a section of text.
</p>]]></description>
      <pubDate>Mon, 24 Aug 2009 07:59:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Learn regular expressions in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10085</guid>
      <link>http://www.phpdeveloper.org/news/10085</link>
      <description><![CDATA[<p>
On the Developer Tutorials blog, <i>Akash Mehta</i> <a href="http://www.developertutorials.com/blog/php/learn-regular-expressions-in-php-152/">offers some suggestions</a> of resources and methods for learning how to use regular expressions in your PHP applications.
</p>
<blockquote>
When it comes to quickly dealing with large blocks of data, batch processing operations or screen scraping, regular expressions are often the most effective solution. There's just one problem, though - learning them can be as hard as learning a new language altogether. Here's how to get off to a flying start.
</blockquote>
<p>
He points you first in the direction of the preg_* functions then towards a few examples (like with mod_rewrite) and tools to help you understand how things match, like the regex tested extension for firefox and the regular expression <a href="http://www.addedbytes.com/regular_expressions_cheat_sheet.png">cheat sheet</a> on AddedBytes.com.
</p>]]></description>
      <pubDate>Thu, 01 May 2008 08:48:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Making the Web Blog: Becoming PHP 6 Compatible]]></title>
      <guid>http://www.phpdeveloper.org/news/9179</guid>
      <link>http://www.phpdeveloper.org/news/9179</link>
      <description><![CDATA[<p>
On the Making the Web blog, there's <a href="http://bitfilm.net/2007/09/21/becoming-php-6-compatible/">this post</a> that talks about looking forward with your code and making it ready for when PHP6 comes around.
</p>
<blockquote>
If you want to make use of PHP 6 when it comes, you're going to have to write your new scripts so they are compatible, and possibly change some of your existing scripts. To start making your scripts PHP 6 compatible, I've compiled a list of tips to follow when scripting.
</blockquote>
<p>
There's only five things in his list (like "stop using magic_quotes" and "don't register long arrays") but the comments provide many more additional gotchas to look out for and new features that will be included.
</p>]]></description>
      <pubDate>Wed, 05 Dec 2007 11:13:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[The Northclick Blog: A comma is a comma is a comma...or is it?]]></title>
      <guid>http://www.phpdeveloper.org/news/8691</guid>
      <link>http://www.phpdeveloper.org/news/8691</link>
      <description><![CDATA[<p>
Internationalizing a website can bring all sorts of challenges, as <a href="http://blog.northclick.de/archives/25">Markus Wolff found out</a> when working on a recent project:
</p>
<blockquote>
When you're building international websites, there's always something new to learn. Especially if one of the languages your website is available in uses a character set different from anything you're used to. For jimdo.com, the greatest challenge as of yet is the <a href="http://cn.jimdo.com/index.php">chinese version</a>.
</blockquote>
<p>
His <a href="http://blog.northclick.de/archives/25">focus</a> isn't so much on the content of the page but on one small character that caused him headaches - the comma. Unfortunately, it seems that Unicode has its own commas that don't quite adhere to the "normal" rules to make them easy to work with (and, in his case, split with a regular expression). The fix to the situation was simple, though - adding a "u" modifier after the expression made it Unicode-aware and split the information correctly.
</p>]]></description>
      <pubDate>Thu, 20 Sep 2007 09:32:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: The Joy of Regular Expressions [2]]]></title>
      <guid>http://www.phpdeveloper.org/news/6375</guid>
      <link>http://www.phpdeveloper.org/news/6375</link>
      <description><![CDATA[<p>
<i>Harry Fuecks</i> is back today on the SitePoint PHP Blog with <a href="http://www.sitepoint.com/blogs/2006/09/27/the-joy-of-regular-expressions-2/">part two</a> of his "joy of regular expressions" series, continuing on from <a href="http://www.phpdeveloper.org/news/6356">this previous entry</a>.
</p>
<p>
He jumps right in, summarizing the first part in a small section before getting back into the examples:
<ul>
<li>Hunting for .jp(e)gs
<li>Escaping Meta-Characters
<li>Search and Replace
<li>preg_quote()
<li>preg_replace()
<li>Word Boundaries, Word Characters...and everything else
<li>Sub patterns
<li>Spot the XSS Hole
<li>eval() is evil!
<li>preg_replace_callback()
</ul>
As you can see, it's crammed with just as much infromation as the first part and <a href="http://www.sitepoint.com/blogs/2006/09/27/the-joy-of-regular-expressions-2/">covers a wide range of topics</a> to help you get more in tune with your inner regular expression guru.
</p>]]></description>
      <pubDate>Wed, 27 Sep 2006 09:20:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[WebProNews.com: Form Checking - Verifying Name Using PHP Ereg]]></title>
      <guid>http://www.phpdeveloper.org/news/5668</guid>
      <link>http://www.phpdeveloper.org/news/5668</link>
      <description><![CDATA[<p>
On WebProNews.com, there's a <a href="http://www.webpronews.com/expertarticles/expertarticles/wpn-62-20060622FormCheckingVerifyingNameUsingPHPEreg.html">brief tutorial</a> on using regular expressions, specifically for filtering "names" entered by users.
</p>
<blockquote>
<p>
One important use of Regular Expressions (Regex) is to verify fields submitted via a form. In this article, we attempt to write an expression that is able to verify the user's first name, middle name, last name or just names in general.
</p>
<p>
The expression should allow names such as "Mary", "Mr. James Smith" and "Mrs O'Shea" for example. So the challenge here is to allow spaces, periods and single quotation marks in the name field and reject any other characters.
</p>
</blockquote>
<p>
Their <a href="http://www.webpronews.com/expertarticles/expertarticles/wpn-62-20060622FormCheckingVerifyingNameUsingPHPEreg.html">examples</a> use the preg_* functions in PHP to work, first looking for any invalid characters in the string(s), then amending it to ensure that there aren't any numbers involved either. The few lines of code it takes are included as well.
</p>]]></description>
      <pubDate>Fri, 23 Jun 2006 07:40:01 -0500</pubDate>
    </item>
  </channel>
</rss>
