Monday, June 05, 2006

Regex của .Net

The 30 Minute Regex Tutorial
By Jim Hollenhorst

Learning .NET Regular Expressions with Expresso

Did you ever wonder what Regular Expressions are all about and want to gain a basic understanding quickly? My goal is to get you up and running with a basic understanding of regular expressions within 30 minutes. The reality is that regular expressions aren't as complex as they look. The best way to learn is to start writing and experimenting. After your first half hour, you should know a few of the basic constructs and be able to design and use regular expressions in your programs or web pages. For those of you who get hooked, there are many excellent resources available to further your education.

Link on codeproject

Ghi chú về bài viết trên: giới thiệu về Regular Expression của .Net, một công cụ rất mạnh để kiểm tra xem một string có thuộc về một mẫu định trước nào hay không. Ví dụ: số điện thọai, email, hay nhập ngày tháng năm. Trong bài viết có giới thiệu về Expresso 2.1

No comments: