C#中【正則表達式regular expression】相關的知識

Regex

System.Text.RegularExpressions.Regex      regex應該是regular expression的縮寫正則表達式

https://msdn.microsoft.com/zh-cn/library/system.text.regularexpressions.regex(v=vs.110).aspxexpress

Represents an immutable regular expression.【immutable 不可變的】 表明了不可變的正則表達式ide

The Regex class represents the .NET Framework's regular expression engine.  //Regex類表明了.net framework中正則表達式工具工具

It can be used to quickly parse large amounts of text to find specific character patterns;//它能夠用來快速解析大量文原本找到特殊的字形ui

to extract, edit, replace, or delete text substrings;  //來提取,編輯,替代或刪除文本的子字符串spa

and to add the extracted strings to a collection to generate a report. //也能夠將提取到的字符串添加到一個集合來生成一個報告.net

 

 

RegexStringValidator 

System.Configuration.RegexStringValidatorci

Provides validation of a string based on the rules provided by a regular expression.  //根據正則表達式提供的規則,驗證字符串的有效性字符串

 

 

 

 

正則表達式的匹配規則string

https://msdn.microsoft.com/zh-cn/library/az24scfc(v=vs.110).aspx

相關文章
相關標籤/搜索