I am new to regular expression.
I need a regular expression (C#) to match numeric value upto 4 digit before decimal places, and upto 2 digit after decimal places.
Example
It should match the following
1111
1211.12
1
0
0.00
1.1
It should not match following
11.111
11111
11111.1
You could use a simple digit quantifier, with a group to test for the decimal portion of the number.