View Single Post
Old 01-02-2013, 10:37 PM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Struggling with RegEx

Not having ANY luck getting a RegEx to work right

Need 1. Break 'joined words with single UC letter inside:

lowerCase --> lower+Case ( the + is really a space char)
LowerCase --> Lower+Case ( the + is really a space char)

Need 2. Superscript ordinal suffixes

89th --> 89<sup>th</sup>
1st --> 1<sup>st</sup>

Thanks

Paul
phossler is offline   Reply With Quote