Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从 HTML 响应中提取一个简单的字符串。响应看起来像这样
patients-list-of-visits.aspx?p=a1363839-76fb-43f3-97ba-26218faefee1
到目前为止我尝试过的正则表达式是
patients-list-of-visits.aspx?p=(.+?) patients-list-of-visits.aspx?p=(.+)
有人可以让我知道我在这里做错了什么吗?
谢谢!
这个更好:
patients-list-of-visits\.aspx\?p=(.+)
2 备注
.*?