Jump to content

Karabas

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Karabas's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. After using { function valid_name($name) // check ifa name is possibly valid if(ereg("^[A-Z][A-Za-z\ \-]+$", $name)) return true; else return false; } I want a bit more sophistication: 1) capital characters must be preceeded by space 2) space must be followed by a capital letter I tried replacing A-Z in [A-Za-z\ \-]+ by \ A-Z etc but it failed to function as I want. Thank you very much in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.