我有一个像这样的Javascript正则表达式:如何前>和包括删除字符串>
item[3]>something>another>more[1]>here
hey>this>is>something>new
.
.
.
串,我想产生由每个新行
item[3]>something>another>more[1]>here
something>another>more[1]>here
another>more[1]>here
more[1]>here
here
表示每次迭代以下又如:
hey>this>is>something>new
this>is>something>new
is>something>new
something>new
new
我想正则表达式或某种方式来逐步去除最左的字符串最多>。