header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
amar
Points:0
Posts:0

5/10/2010 6:59:30 AM

Title: Regular expression for url validation


Hello Friends!

I am working on a project where I need to validate a url and I am
really exhausted making that regular expression for that. Can anyone
suggest me a regular expression which validates exactly the folowing
format -

http://domainname/anystring/filename.fileextension

for example it should validate the folowing urls -

http://in.yahoo.com/download/picasa.zip

or

http://download.com/wine.deb

or
http://debian.org/messenger/chat/digsby.bin

IT should not validate folowing urls -

http://www.yahoo.com

http://yahoo.com

http://openoffice.zip




Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 4+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions