我有一系列短语:
One: This is some data
Two: This is some more data
One: This is some more more data
Two: This is some more more more data
One: This is some more more more more data
我正在尝试找到一个regex
匹配所有"Two:"
行(整行)的模式。我一直在尝试自己获得正确的模式很长一段时间没有运气,但我认为这应该很简单,对吧?
我怀疑这很重要,但我正在使用 Python。
谢谢!