Regex for Matching Letters Only

Matches a string made up entirely of alphabetic letters.

Published October 11, 2026

Matches a string made up entirely of alphabetic letters.

Key points

  • Only matches basic Latin letters — add Unicode property escapes (\p{L}) if you need to support accented or non-Latin letters

Example

^[A-Za-z]+$
More General articles