I'm having trouble finding a regular expression that matches the following String.
One problem is escaping the question mark. Java's pattern matcher doesn't seem to accept `\?` as a valid escape sequence but it also fails to work with the tester at myregexp.com.
Here's what I have so far:
Edit: The original intent was to match all URLs that could be found after the first semi colon.
以上就是Regular expressions and matching URLs with metacharacters的详细内容，更多请关注web前端其它相关文章！