正则表达式匹配问号后的所有内容? [英] Regex match everything after question mark?
本文介绍了正则表达式匹配问号后的所有内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在 Yahoo Pipes 中有一个提要,想匹配问号后的所有内容.
I have a feed in Yahoo Pipes and want to match everything after a question mark.
到目前为止,我已经弄清楚如何使用...匹配问号
So far I've figured out how to match the question mark using..
\?
现在只是为了匹配问号之后/之后的所有内容.
Now just to match everything that is after/follows the question mark.
推荐答案
\?(.*)
您想要第一个捕获组的内容.
You want the content of the first capture group.
这篇关于正则表达式匹配问号后的所有内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文