View Single Post
Old 01-09-2012, 11:44 AM   #6
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
Quote:
Originally Posted by theducks View Post
Code:
([A-Z]){3,}
the first number is a minimum repetition count
the Second is a maximum. infinite if nil after the comma
I'd be very careful with that one, especially if you want to use the replace function.
Much better:
([A-Z]{3,})

Else you will just replace ONE letter with \1...

The suggestion from Serpentine will "only" find complete words that are uppercase, that might be what you want or not, I can't decide...
WS64 is offline   Reply With Quote