View Single Post
Old 04-27-2012, 08:59 PM   #18
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,156
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Each word is 2 captures
([A-Z]) is the first Letter
(.+) <a space here> is the rest of the word with the space being used as a word delimiter detection

so my system works for 4 words maximum and must be crafted for
each of 4 , 3, 2 and 1 words surrounded by a <text> tag

A REGEX guru might come up with a better pattern / replacement
theducks is offline   Reply With Quote