Regular Expression For Uppercase Letters

Category: Strings | Views Total: 133 views

A regular expression to match all uppercase letters in text.

/[A-Z\s]+/

Matches:

  • AAAAAA
  • AAAbbb

Non-Matches:

  • aaaaaa

See Also:

Rate This Regex
Sending
User Review
0 (0 votes)

Leave a Reply