I don't know what script is this but the regex seems to do what it is intended to do. I think it isn't broken.
Maybe the problem is with the subject: $result[0] which doesn't contain the needed string?
deliteblogger Reviewed by deliteblogger on . [PHP] Notice: Undefined offset: 0 Error. Hello, i am new coding. I am working on a auto downloading torrent php script. I have been stucked with Undefined offset error. Your help will be very appretiated, thanks. :) Notice: Undefined offset: 0 in /var/www/html/torrent/bgrahul.php on line 351 Notice: Undefined offset: 0 in /var/www/html/torrent/bgrahul.php on line 363 Marked those lines to bold and red. Rating: 5