ac senthilkumar's blog

________________________________________________________________________________________

Tuesday, June 14, 2011

Regular expressions

Check the string to pattern like MSB/2006/00001
    if (ereg('^MSB/[[:digit:]]{4}/[[:digit:]]{6}$', $sbcno)) {
Posted by Senthil kumar at 6/14/2011 03:01:00 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: PHP

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Popular Posts

  • Err: Call to a member function get_cellmap() on a non-object by sfDomPDFPlugin in Symfony
  • Err: Unlock Login Keyring in Ubuntu 11.10 problem
  • To run remote host's application from our machine
  • Download cached flash videos of Firefox and Chrome in Linux(Ubuntu)
  • Multi column check in sub query
  • Selective cell protection in Spreadsheet
  • MKV to AVI using mencoder
  • Turn USB write protect flag off
  • Email validation in PHP
  • SQL formatting tool online

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Search in this Blog ...

Labels

  • Linux (49)
  • Errors (44)
  • PostgreSQL (44)
  • Ubuntu (38)
  • PHP (34)
  • How to (33)
  • Java Script (15)
  • Tips (15)
  • Apache (11)
  • Regular Exp (11)
  • Drupal (9)
  • Open Office (9)
  • CSS (6)
  • Flash Builder for PHP (6)
  • Symfony (5)
  • Web (5)
  • Windows (5)
  • Eclipse (3)
  • Programming (3)
  • Advanced SQL (2)
  • Firefox (2)
  • Android (1)
  • Chrome (1)
  • HipHop (1)
  • Java (1)
  • Links (1)
  • MySQL (1)
  • Softwares (1)
  • Utilities (1)

Followers

Senplusone. Simple theme. Powered by Blogger.