Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    it does capture that one :P alert("http://www.wupload.com/file/63075291/LlMlTL355-EN6-SU8S.rar".match(/^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/g)) Commented Aug 8, 2011 at 16:45
  • Now firebug says 'Regular expression too complex' :( Commented Aug 8, 2011 at 17:28
  • that's odd... idk. i'm using Chrome and it worked in Chrome's js console. Commented Aug 8, 2011 at 17:41
  • @Joseph try it with multiple urls? Commented Aug 8, 2011 at 17:56