|08-12-2012, 10:57 AM||#1|
Join Date: Nov 2007
Device: EE, Note 8
I understand the Python regular expression library doesn't support the \u operator. Is there a different method to capitalize?
I would like to capitalize the chapter designation in a poorly formatted book e.g. chapter one to Chapter One. I can pattern match with (\D+) (\D+); And know \1 \2 will backreference.