How to only use input in pattern once?

后端 未结 0 1330
南笙
南笙 2020-12-07 02:19

regex = ^(movie|tv) (.*) (?<=season )([0-9 ]+)

input = tv game of thrones season 1 2 3

output

tv
game of thrones se         


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