Re: OT URL REGEX



Hello Alex,

As I just said. It is easy to validate a url just have to lnow what is
dynamic and which characters in the url need to be excaped.

^ says match the expression from the start of the string
: /.? all need to be excaped with \
[0-9]{1,} says match a number 1 or more digits long

How this helps.

Joseph Melnick
JM Web Consultants
http://www.jphp.com




.



Relevant Pages

  • Re: Validate!
    ... > How do I validate a textbox to ensure that not more than 16 characters ... Forget Validate; set the .MaxLength property to 16 ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)
  • Re: Regular Expressions: How to check for these characters?
    ... >> These characters are not allowed in file names, that is why I need to ... >> validate if file names dont contain these characters. ... >> ' Validates if certain characters exist inside a string expression. ... >> Dim oReg As New RegExp ...
    (microsoft.public.vb.general.discussion)
  • Re: Data Validation: two conditions
    ... The op wants the last 3 characters to be ###. ... >> Can I do this with data validation? ... >validate the two components? ... >> MVP Microsoft Word and Word for Mac ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Why do these characters display incorrectly?
    ... > characters that the W3C validator is picking up on! ... I smell a utf-8 BOM ... > How can I get these pages to validate? ... If you want it to be utf-8, fix your web server configuration. ...
    (uk.net.web.authoring)
  • RE: Post Code UK Structure Verification
    ... Dim invalid As Boolean ... ' Validate inner code ..... ... Notepad is used because copying from ... Sort to bring to the top records with too many characters ...
    (microsoft.public.excel.programming)