Can anybody help me to get rx: value for "url" in javascript?

I need to add website/ url filed to my form, and I need to validate using js, for dis I need a rx: value for url field just like :
".url":{rx:/^[a-zA-Z'][a-zA-Z-' ]+[a-zA-Z']?$/,target:'input'},
Asked Feb 25, 2013

TIP: If it's not your answer to this question, please click "Leave a Comment" button under the question to communicate with the question owner.