I need a working REGEX for PHP

İptal Edildi İlan edilme: Mar 1, 2010 Teslim sırasında ödenir
İptal Edildi 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]');

?>

Mühendislik MySQL PHP Proje Yönetimi Yazılım Mimarisi Yazılım Test Etme Web Hosting Web Sitesi Yönetimi Web Sitesi Testi

Proje NO: #3222160

Proje hakkında

4 teklif Uzak proje Aktif Mar 1, 2010

Bu iş için 4 freelancer ortalamada $7 teklif veriyor

cevouk

See private message.

$8.5 USD in 14 gün içinde
(201 Değerlendirme)
7.5
tzo

See private message.

$4.25 USD in 14 gün içinde
(275 Değerlendirme)
6.6
rxhector2k5

See private message.

$8.5 USD in 14 gün içinde
(61 Değerlendirme)
4.7
womki

See private message.

$6.8 USD in 14 gün içinde
(3 Değerlendirme)
3.2