![](https://www.f-cdn.com/assets/img/pvp/logged-out-pvp-content/header-desktop-60020424.jpg)
I need a working REGEX for PHP
$30-5000 USD
Teslim sırasında ödenir
I know I am close but it doesn't seem to work. I am trying to grab just the encrypted string from site: http://www.stuffmywallet.com. Check the source for your self to see the encrypted string.
<!--|~|0xUi7SKMtWmuFvrwIaPFW8eb2F87JiKzE4Fh5HA3S9bHVyrqzr7p1UlBHkdafMiK7Fbjz9yiJ17Lg20p226ns3nbxAPWvjbuh7D260Dp8hic2MJ2MeffM1C2OvNfNQQkdgS0Qm4o|~|-->
this regex works '<!--.*?-->' but I only want the encrypted code in the array only and I dont want to grab just any remark I want what is only in this remark '<!--|~|.*?|~|-->'.
<?
function authenticate_site($url) {
$matches = array();
$content = file_get_contents($url);
preg_match('<!--|~|.*?|~|-->', $content, $matches);
print_r($matches);
}
authenticate_site('[url removed, login to view]');
?>
Proje NO: #3222160