Monday, July 23, 2007

Regular expressions*

Monday, July 23, 2007 3:45:52 AM (GMT Standard Time, UTC+00:00)

As a web application developer knowledge of regular expressions, or at least, what they can do for you, is a mUSt. These strange looking character sets can do anything from checking for a numeric value in a textbox to protecting against cross-site scripting (XSS) .

Here's an article a pal (thanks Ramal)directed me to lately that I think is well.. appropriately titled! : 5 Regular Expressions Every Web Programmer Should Know.

Truth-be-told though, I think (web) developers should seriously understand how to construct their own, as the need for unique expressions is almost inevitable. However, if you're in a rush and need one quickly (as is often the case with me), you can head over to this library, it's pretty extensive and the expressions are reasonably reliable.

Related posts:
Select a random row in MS SQL...
VS2005, ASP.NET 2 & DLLs, DLLs..
MS's ASP.NET and.. PHP
2-way databinding cascading drop down lists within a FormView
ApplicationName Property when customising providers
Formatting strings/numbers in .NET

Comments are closed.