我需要正则表达式来匹配不以#开头的单词
示例:
#Repost @edbyellen
#EDEllenDeGeneres rugs so cozy you can walk on them, nap, on them, sleep on them you get the picture
Now available in select retailers in the US, crafted by @LoloiRugs. #EDbyLoloi
我想要一个正则表达式来匹配这样的词:
@edbyellen
rugs so cozy you can walk on them, nap, on them, sleep on them you get the picture
Now available in select retailers in the US, crafted by @LoloiRugs.
我该怎么做?你知道吗
谢谢你帮我
试试看:
我认为这很有用。你知道吗
不带正则表达式:
很多方法,其中之一:
输出:
来自Yoav Glazner的反馈,查看匹配字符串:
输出:
相关问题 更多 >
编程相关推荐