最新下载
热门教程
- 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(""", "");
相关文章
- 逆水寒手游橙戒流火幻荧什么时候上线 04-25
- 原神仆人阵容搭配推荐 04-25
- 恶意不息铁匠铺怎么升级 04-25
- 原神龙蜥特急斯库拉号成就怎么达成 04-25
- 恶意不息浅滩双子掉落什么 04-25
- 原神仆人阿蕾奇诺武器推荐 04-25