Regex match everything after question mark?

Mark picture Mark · Dec 11, 2010 · Viewed 366k times · Source

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.

Answer

thejh picture thejh · Dec 11, 2010
\?(.*)

You want the content of the first capture group.