Click here to Skip to main content
15,917,645 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
using multiline text box & pass case id like 1660,1713 in this format also special character i.e (,) between two case id configure through web.config file .
for that i am code in

string s1, s2
 s1 = @"^\d*[0-9](|";
       s2 = @"|\s)\d*[0-9]*$";

     string regx = s1 + Functions.ToString(ConfigurationManager.AppSettings["BulkCaseSeparator"].ToString() + s2);

       RegularExpressionValidator1.ValidationExpression = regx;  

it is working fine when i am pass value in multiline text box like 1660,1713 but not working for 1617,1700,1415 also not working for 1617,1700,1415(this three on first line),1713(it is on second line). what can do for this scenario using above code.
Posted

1 solution

Hi,

Regular Expressions are easily set up and tested with Expresso, a free tool from
http://www.ultrapico.com/Expresso.htm[^]

its Help u a Lot

Best Luck
Happy Coding :)
 
Share this answer
 

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