Thread
:
RegEx Function: Title Case
View Single Post
12-28-2014, 12:22 PM
#
8
theducks
Well trained by Cats
Posts: 31,094
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
the BR did not include a space and self closing slash
Code:
(?s)<h\d>(.+?)<br
\s*/
>(.+?)</h\d>
Literals in the pattern must match
exactly
what you want to match
the \s* handles the unpretty (no space) condition of your original
theducks
View Public Profile
Find More Posts by theducks
Track Posts by theducks via RSS