Regular Expressions

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Roz Lee (rosl_at_panztel.com)
Date: 04/28/04

  • Next message: J: "RE: How to find an algorythm code"
    Date: 27 Apr 2004 17:23:49 -0700
    
    

    I am trying to work out a regular expression which will validate a
    password box.

    The following rules apply
    Must be 8 characters
    Must have at least one digit (0-9) and at least one character (a-z or
    A-Z)
    No special characters allowed except for full stop.

    I am struggling to get to grips with regular expressions. Can anyone
    help me with this please.
    Thanks in anticipation

    Ros Lee


  • Next message: J: "RE: How to find an algorythm code"

    Relevant Pages

    • Re: Regular Expression Function
      ... I want a regular expression to compare sentences and then rate them as ... I have an array with a list of other phrases like so... ... characters will throw things off. ... "In an hour the system will go down for maintenance". ...
      (alt.php)
    • Re: Regular Expression Function
      ... I want a regular expression to compare sentences and then rate them as ... I have an array with a list of other phrases like so.. ... These will be stripped from the input first. ... characters will throw things off. ...
      (alt.php)
    • Re: Expert script (.bat) writers help needed (strip double-quote from string)
      ... Sets or returns the regular expression pattern being searched for. ... Always a RegExp object variable. ... May include any of the regular expression characters defined in the table in the Settings section. ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: RegExp and special caracters
      ... function identifier(str, substr) ... Expression syntax called POSIX 1003.2 Basic Regular Expressions (considered ... where special characters are to be escaped in order not to be considered ... Expressions modelled after the Regular Expression flavor Perl 5 supports ...
      (comp.lang.javascript)
    • Re: RegExp and special caracters
      ... function identifier(str, substr) ... Expression syntax called POSIX 1003.2 Basic Regular Expressions (considered ... where special characters are to be escaped in order not to be considered ... Expressions modelled after the Regular Expression flavor Perl 5 supports ...
      (comp.lang.javascript)