Click here to Skip to main content
14,919,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Thanks for the help,

I worked around modifying regular expression (given to me here here) for different textbox, but i could't get what I neeed. I google it, many things found but not for what i want.

Dim valid AS Boolean = Regex.IsMatch(TextBox1.Text, "^(,?\d+){0,20}$")
(32,1,6,32,12,21,21,54,675,8,4,3,2,9,0,21,21,21,43,744) perfect.

NOW i want 20 double numbers separated by commas in TextBox2 like

Please help me out.

thanks ...

1 solution

Sounds like you want us to make your regular expression for you. What particular trouble are you having creating your regular expression?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900