Python regex lookahead assertion

后端 未结 0 1671
谎友^
谎友^ 2020-12-09 00:25

I want to get word1 and word2 from text string like text = "otherstuff word1 + word2."

I managed to get one word using this lookbehind regular

相关标签:
回答
  • 消灭零回复
提交回复
热议问题