Tag Archives: regular expression

Objective-C: Categories

When writing our own program, you’ll often want to add some new method to an existing class. You can always add a subclass to an existing class if you want to add some more method to it. But there are limitations to that, not every time subclassing is convenient enough for people to subclass. For … Continue reading Objective-C: Categories

PHP: UPPEValidator

UPPEValidator is a simple PHP string validation class that will help validate email addresses, URLs, passwords, and phone numbers. You can download the script in the link listed below. UPPEValidator Download Link Gist Sample Usage : $validator = new UPPEValidator(); $string = ’09-088-909-8890′; // You can also use dots ( . ) instead of hyphens … Continue reading PHP: UPPEValidator