标签: c#
让我们说富文本框里面有这个:
This is a rich text box with a hidden meaning.
如何找到a和a之间的所有文字?
a
答案 0 :(得分:3)
您可以使用RegEx:
Regex.Match("This is a rich text box with a hidden meaning.", @"a([^a]*)a").Groups[1].Value