how do I return array of strings from strings enclosed in square brackets

前端 未结 0 841
暗喜
暗喜 2021-01-02 09:31

so I have a string that follows "[option1] [option2] [option3] some more text", how would I extract a array of strings from that string that goes like

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