REFind('^http://[\./-:0-9a-zA-Z]+$', URL)

I want to be able to validate the url.

This works

REFind('^http://[\./-:0-9a-zA-Z]+$', URL)

But I want to allow - _ ? & = and alphanumeric characters in the query
string but not in the first part of the URL.

What do I need to add to

^http://[\./-:0-9a-zA-Z]+$

to make it work? Also, how can I make the s in https optional?

Thanks,
Sebastian



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to