Friday, March 11, 2011

treating a BLANK SPACE in REGULAR EXPRESSION

Got a problem while allowing a blank space in regular Expression, for service URL.

-> so the solution is-
"S" (an uppercase 'S')

So at last my regex pattern was like this in php-


[a-z:A-Z;=;\\S]+/[0-9]+
//Now it will allow case-insensitive any alphabet, any number

1 comment:

  1. I am regular reader, how are you everybody? This paragraph posted
    at this web page is genuinely fastidious.

    Look into my page: emoticono

    ReplyDelete