首页 > Windows开发 > 详细

C# 正则表达式 Regex

时间:2019-09-30 01:05:55      阅读:111      评论:0      收藏:0      [点我收藏+]

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

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+");

 

 技术分享图片

 

C# 正则表达式 Regex

原文:https://www.cnblogs.com/tangpeng97/p/11610400.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!