最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
C# 取得双引号内的字符串正则
时间:2022-06-25 08:31:31 编辑:袖梨 来源:一聚教程网
个字符串中带有双引号,如何获取到双引号内的字符串呢?
例如string words="hello"world"";要获取到"world"
using system.text.regularexpressions;
string words = "hello"world""; regex regex = new regex(""[^"]*""); string result = regex.match(words).value.replace(""", "");
相关文章
- 虾米音乐如何恢复删除的歌单 05-27
- 恐龙神奇宝贝手游恐龙养成攻略 恐龙神奇宝贝手游新手恐龙培养与进阶技巧 05-27
- 全能扫描王使用操作相关问题详情 05-27
- 雷霆大战手游T0船长推荐 雷霆大战手游最强船长阵容与培养指南 05-27
- 铸兵之王开荒指南 铸兵之王新手入门全流程攻略 05-27
- 《快手》号修改方法 05-27