Regular Expression

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lars Nilsson

    Regular Expression

    I need to check that the user as put in at least one character between
    a-z upper or lowercase in a name field. They can put in whatever they
    like but there as to be a character a-z in the string. How shall the
    test expression look like?

    /Lars
  • Lasse Reichstein Nielsen

    #2
    Re: Regular Expression

    laguni@bredband .net (Lars Nilsson) writes:
    [color=blue]
    > I need to check that the user as put in at least one character between
    > a-z upper or lowercase in a name field. They can put in whatever they
    > like but there as to be a character a-z in the string. How shall the
    > test expression look like?[/color]

    /[a-z]/i

    /L
    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    Working...