I know the group does not directly offer support for Regular Expressions,
but this is a "quick and simple" question that someone might know...
 
I need to check that a valid web address (grammatically correct anyway)
is being entered in a form field.  I am trying to check for the address 
starting with a valid prefix - the regexp I am using is:

pattern="^(http|https|ftp)://"

but this only allows me to enter only the prefix; not any string starting with
those characters, which is what I thought the ^ character would do?

Thanks
Derek


-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to