/** * This expression derived/taken from the BNF for URI (RFC2396). */ private static final String URL_PATTERN = "/^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/";
the above regexp is what the validator seems to use to validate urls. For more information download the source from the apache commons project. btw, I am not so good at reading regexp to tell what the answer to your question is ot if this even answers your question. good luck ;) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]