c# - 通过C#中的正则表达式获取子字符串
问题描述
string string1 = @"Comments by fkhan19 on Nov 01, 2018: 'ok' Comments by mzaighum on Oct 31, 2018: 'Rs.12,000,000 available in Gas is recommended for reallocation to Gen. Fuel. "
我有上面的字符串,想在 fkhan19 的评论之间提取文本 .... mzaighum 的评论
我怎样才能通过正则表达式做到这一点。
解决方案
推荐阅读
- python - Scrapy 不在 postgresql 列中写入
- xml - Liferay 6.2 rest api,内容类型为 text/xml
- ubuntu - 适用于 Linux 的 Windows 子系统在挂载时忽略元数据选项
- php - 如何使用安全规范发出 Soap 请求
- python-3.x - 尝试从 python 写入 cassandra 时 CQL 查询中的语法错误
- java - 引用变量 DataOutputStream 和 FileOutputStream
- ios - 无法将“字符”类型的值分配给“字符串”类型?
- android - 带有 RecyclerView 顶部和按钮视图的 ConstraintLayout 某些部分是不可见的。
- maven - 如何dockerize一个多模块springboot应用程序?
- typescript - React Native 如何在断点上下文中执行代码