-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Soumitra2105
Message 6 in Discussion
Hi
Everyone,
Regular Expression
are a powerful way of checking,finding and replacing text. Over the years
support for them has increased in all programming languages. Why
????
Let's look at a
couple of examples below...
DateTime format
dd-mm-yyyy or dd/mm/yyyy
The text entered
in a textbox compile :Should only have Alphabets and Chars
Passwords: Should
contain at least one from [a-z][A-Z][0-9] etc.
Or imagine even a
better scenario
The ProductID has
is of 9 Chars: First Number between [0-5]
Second Number between[6-9]
Third
Char Between[a-z]
Fourth
Char Between[A-Z]
Fifth
Number between[0-9]
Sixth
Char between[a-z]
Seventh
Char between[a-e]
Eight Number
between[w-W]
Ninth Char between[0-9][A-Z][a-z]
See how tough I made it
:). These problems may be solved by just one Regular Expression.
So
though immensely useful little is known about writing them or even better how to
write them cleaner and use them more effectively in code.
It would be great
if someone in BDOTNET could take a session on this topic.
Any
volunteers???
Thank
you,
Best
Regards,
Soumitra
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]