📄 readme.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>ReadMe</title>
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="Originator" content="Microsoft Visual Studio.NET 7.0">
</head>
<body>
<h1>Windows Forms: How to Use Regular Expressions</h1>
<p>This sample application shows how to use regular expressions. If you are not
familiar with regular expressions, they are a well-established and standard way
to parse text files as well as to search and optionally replace occurrences of
substrings and text patterns. They can be a very powerful tool in your
development arsenal. For more information, go to <A href="http://msdn.microsoft.com">
http://msdn.microsoft.com</A> and type "regular expressions" in
the search engine. </p>
<h2>Featured Highlights</h2>
<UL>
<LI>
The "Simple Samples" tab is a good introduction to the use of regular
expressions. You can see how to find the first occurrence of a number in a
string, as well as try out increasingly difficult examples of field validation.
<LI>
The "Screen Scrape" tab shows off more advanced uses of regular expressions.
You can enter a Web address and view the links or images contained therein.
HTML tag attributes are displayed in a ListView control. You can double-click
an image to view it, or double-click a link to open Internet Explorer and view
the page.
<LI>
The "RegEx Tester" tab provides a convenient way for you to experiement with
regular expressions. It also demonstrates how to do search and replace and
string splitting.</LI></UL>
<h2>Requirements</h2>
<p>To run the Screen Scrape examples you will need an active connection to the
Internet.<br>
Microsoft Visual Studio.NET Professional<br>
Windows 2000 or Windows XP.</p>
<h2>Running the Sample</h2>
<p>Simply press <b>F5</b>.</p>
<p><b>See Also</b></p>
<p>
<a href="ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconusingregularexpressionclasses.htm">
Regular Expression Classes</a>
<a href="ms-help://MS.VSCC/MS.MSDNVS/vsintro7/html/vxgrfRegularExpressionsS.htm">
Regular Expression List</a></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -