View Single Post
Old 01-09-2012, 09:58 AM   #1
bfollowell
Fanatic
bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.
 
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
Help with regex expression for words in all caps

I am attempting to create a regex expression that will allow me to search for "words" made up of consecutive upper case characters such as DANGER or WARNING. I tried [A-Z]+ and it does not work.

[A-Z] returns any and every occurence of an upper case character, single or multiple, one at a time.
[A-Z]+ returns groups of upper case characters as well as single upper case letters

I can't seem to find an expression that will return only groups of consecutive upper case characters. I don't care about the singles at the beginning of a sentence or a proper name.

I know Sigil regex has some quirks that work differently than in other apps that use regex. Does anyone have any ideas?

- Byron
bfollowell is offline   Reply With Quote