|
-
Jan 1st, 2007, 04:19 AM
#1
Thread Starter
Lively Member
How to unlimit characters entered in textbox?
Hi guys,
I have this textbox for email address, I used regular expression to filter the characters the way I want.. However I need to unlimit the characters for further entries of email addresses,.. How could I possibly solve this using RegularExpressionValidator's ValidationExpression property? thanks..
-
Jan 1st, 2007, 07:00 PM
#2
Re: How to unlimit characters entered in textbox?
I would suggest that you require a semicolon as a separator. You can then split the TextBox contents on the semicolon character and then use your regex on each substring.
-
Jan 1st, 2007, 09:25 PM
#3
Re: How to unlimit characters entered in textbox?
Ah, I just read your post a little more carefully and realised that you're using an ASP.NET validator. My suggestion may well not be applicable in that case, although I'm not a Web developer so I don't know for sure. I'm guessing that you could edit your pattern to account for a delimiter like a semicolon but I don't know exactly how offhand as I'm certainly not a regex expert.
-
Jan 1st, 2007, 09:55 PM
#4
Thread Starter
Lively Member
Re: How to unlimit characters entered in textbox?
hi hmcilhinney,
Thank you so much, you have a point there. I will look for a solution based on your suggestion. I will let you know once I solved it. =) happy new year to you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|