【发布时间】:2012-12-17 07:30:56
【问题描述】:
基于这个问题:Regular expression to extract text between square brackets
this is a [sample] string with [some] special words. [another one]
我还需要提取 [sample] 和 [some] 之间的文本以及两个边界。换句话说,我想要将 [sample] 字符串与 [some]
匹配的正则表达式【问题讨论】: