Home » Archive

Articles in the Regular Expression Category

PHP, Regular Expression »

[22 Apr 2010 | One Comment | 366 views]

Here, I will be showing you a simple and easy one line code to format URL string with PHP. By URL string, I mean the url key in any Search Engine Friendly URL.
I have used preg_replace function to do so.

PHP, Regular Expression »

[2 Mar 2008 | 6 Comments | 524 views]

In this article, you will find php validation code for:
1) Interger Validation
2) String Validation
3) Decimal Validation (two digits after decimal)

Perl, Regular Expression »

[15 Aug 2007 | One Comment | 34 views]

Fun with perl regular expression
A) $st = “The programming republic of perl”;