Wednesday, 21 August 2013

How to give regular expression for Regex.ismatch function?

How to give regular expression for Regex.ismatch function?

I am trying to write a regular expression for accepting a Number of length
upto 14 and if they keep the decimal point then it should accept only 2
numbers after the decimal point.
I have tried it from this link below :
http://stackoverflow.com/a/9967694/861995
But, the same Regex.IsMatch function is not accepting the normal regex
expression's starting with ^ and ending with $.
Please help me on this i am new to regular expressions

No comments:

Post a Comment