问题描述:
正则表达式:如何匹配指定单词后的第二个单词?
比如,指定单词set.在如下字符串中:
I have set this lamp on.
Try to set it up.
Don't set any ship off.
我要匹配lamp,up,ship,该怎么匹配呢?
比如,指定单词set.在如下字符串中:
I have set this lamp on.
Try to set it up.
Don't set any ship off.
我要匹配lamp,up,ship,该怎么匹配呢?
问题解答:
我来补答展开全文阅读