Python string manipulation with regex in split

前端 未结 0 520
难免孤独
难免孤独 2021-01-27 04:55

Could you please help me with crafting a regex to split a string as follows:

anyrandomcharacter\\morerandoms

Into:

[anyrandomchara         


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