我有一个HTML表单字段$_POST["url"],有一些url字符串作为值。
举例如下:
https://example.com/test/1234?email=xyz@test.com https://example.com/test/1234?basic=2&email=xyz2@test.com https://example.com/test/1234?email=xyz3@test.com https://example.com/test/1234?email=xyz4@test.com&testin=123 https://example.com/test/the-page-here/1234?someurl=key&email=xyz5@test.com
etc.
如何从这些url /值中只获得电子邮件参数?
请注意,我不是从浏览器地址栏获取这些字符串。