How to use RegEx re.search and group() to get multiple lines of matching data in python

后端 未结 0 1088
夕颜
夕颜 2020-12-29 01:17

My text is this

text =
\'\'\'
    BP2572 23
    BP2345 34
    BP2457 45
    BP2866 56 \'\'\'

I want to extract just this first portion of the

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