Thread
:
another regex puzzle - detect capitalised phrases
View Single Post
02-23-2012, 03:02 PM
#
2
WS64
♫
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
<p>[^a-z]{4,}
Will find any paragraph with the first 4 being no lower ones.
Of course this still will find <p>U.S.A. is the country...
I guess you need to check if the 4 is enough.
WS64
View Public Profile
Visit WS64's homepage!
Find More Posts by WS64
Track Posts by WS64 via RSS