Validation of popular standards in Objective-C : PESEL, NIP, REGON, LUHN, IBANN
Objective-C Other Ruby
Switch branches/tags
Nothing to show
Latest commit ad9904f Jun 30, 2015 @mapedd Merge pull request #4 from ened/patch-1
Remove compile warning, fix typo


NSString category methods to simplify popular string standards validation


  • Polish PESEL number (Personal Number)
  • Polish NIP number
  • Polish REGON number
  • Email address using regular expression
  • Credit Card numbers - Luhn numbers
  • Bank Account numbers

Example Project

Example project shows how to use those methods, additionaly there are some tests to check if methods still work:D


iOS 4.0, Mac OSX 10.7

ARC Support



  • add more test cases and support for international standards


Tomek Kuźma (mapedd)


NSString+TextAndNumberValidation is available under the MIT license. See the LICENSE file for more info.