Jump to content

Jarfilli

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Jarfilli's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello guys, I am having a little trouble with a regex. I am trying to match megaupload links eg. http://www.megaupload.com/?d=N241NIPD it's always 'http://www.megaupload.com/?d=' followed by 8 alphanumeric characters. the regex I have is preg_match('/http\:\/\/www\.megaupload\.com\/(?:|..\/)\?d=.{8}(\/|)/',$url,$matches);I have been at it for hours and for the life of me can't figure out why it's not working. If anyone would like to tell me how stupid I am being I would appreciate it. Thanks in advance Jarfilli
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.