我正在练习正则表达式查找,为此,我尝试从SQL insert语句中提取表名。我有正则表达式(?<=INSERT INTO )\w+(?.+),我正在字符串INSERT INTO tests VALUES (regex, test)上测试它。虽然我知道我的正则表达式没有精心完成,但我希望它与输入的tests子字符串匹配。我正在使用Java的正则表达式引擎,并且打印出当我在正则表达式上执行String.split和当我在正则表达式上执行Pattern.matches时
我无法理解正则表达式,所以我请求您的帮助Regex should match http://projects.myurl.com.lolRegex should match http://projects.myurl.com.lol/
Regex should match http://projects.myurl.com.lol/documents&