x
/([A-Z])\w+/g
/([A-Z])\w+/g
xxxxxxxxxx
RegExr was created by gskinner.com, and is proudly hosted by Media Temple.
Edit the Expression & Text to see matches. Roll over matches or the expression for details. PCRE & JavaScript flavors of RegEx are supported. Validate your expression with Tests mode.
The side bar includes a Cheatsheet, full Reference, and Help. You can also Save & Share with the Community, and view patterns you create or favorite in My Patterns.
Explore results with the Tools below. Replace & List output custom results. Details lists capture groups. Explain describes your expression in plain English.
(
Capturing group #1. Groups multiple tokens together and creates a capture group for extracting a substring or using a backreference.[
Character set. Match any character in the set.A-Z
Range. Matches a character in the range "A" to "Z" (char code 65 to 90). Case sensitive.]
)
\w
Word. Matches any word character (alphanumeric & underscore).+
Quantifier. Match 1 or more of the preceding token.