Hi friends,
Can anybody please give me Regex Expressions to match these...
The number should be more than three digits..
The number should not exceed 20 digits..
+41 5203 789850 should match
+41 523 - 586 - 789 -789 should match
10.20.13.20:8080 should not match
123.45.20.125 should not match
+91 9544337661 should match
+91 (475) 2250010 should match
1200 should match
Thanks
additional information by the OP copied from comment below
sure....
var exp = new Regex(@"#?[0-9\s\-\(\)]{4,20}", RegexOptions.IgnoreCase);
What I want is to get the numbers having more than 4 digits.
But its counting everything in the expression... For eg: It returns (20) and 20 too (since it has space)....
How can I choose only if the numbers are more than 4 digits, and select the rest if it contains this special characters...