Regex match everything after question mark?

\?(.*)

You want the content of the first capture group.

Leave a Comment