|
|
#1 |
|
Gadget Freak
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,169
Karma: 1043832
Join Date: Nov 2007
Location: US
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.
|
|
|
|