I have a HTML form field $_POST[\"url\"] having some URL strings as the value. Example values are:
$_POST[\"url\"]
https://example.com/test/1234?email=xyz@test.com
All the parameters after ? can be accessed using $_GET array. So,
?
$_GET
echo $_GET['email'];
will extract the emails from urls.