The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other What am i forgetting? [a-z A-Z] REGEX & Brain Farts

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #38327

    Howdy folks, im testing to make sure there is only letters passed, no numbers or special chars. How do i only accept letters?

    This seems like such an elementary question but its late, im half asleep, and everything on the screen is starting to look the same. I would really love some quick help from this massive brain fart im having.

    Would this be good enough:


    Yes, that will work fine.

    And if you are able to set a case insensitivity modifier (probably i), the regex could even be shortened to: ^[a-z]+$


    @Meta_Ing, Thanks for your quick response and clarification.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.