Tips of C# Regex Expression

"." don’t match “\n” in Multiline mode

“(?<group_name>regex_expression)” defines the group name. We can refer the group with match.Groups["group_name"].Value;

“(?:regex_expression)” ignores the group

Regex.Escape(string) is very useful and readable!

 

continue…

 

MicroTeam Hui

你可能感兴趣的:(express)