C# 正则表达式 Regex

收纳总结一些正则表达式的用法

1.

//By this way will spilt the string into peice of word without specise char
string[] w = Regex.Split("Do*you&like!green eggs and ham?", @"\W+");

 

猜你喜欢

转载自www.cnblogs.com/tangpeng97/p/11610400.html