Wednesday, May 6, 2015

Regular Expression Regexp / Pattern

  • Here is the custom regex for 026/bir/013,

    JS/PHP    RegExp: /\b^(\d){3}\/(\w){2}\/(\d){3}\b/g
    HTML      pattern: \b^(\d){3}\/(\w){2}\/(\d){3}\b


    Var reg=/[0][1-9][1-9]\/[a-z][b-z]\/[0][1-9][1-9]/;

Through this you can create your own regular expression

No comments:

Post a Comment

Dharamart.blogspot.in