[COLOR=#0000ff]In A2 [/COLOR]and copy down.
=LOOKUP(1,1/LEN($C2:$AB2),$C2:$AB2)
[COLOR=#0000ff]In C2 [/COLOR]([COLOR=#ff0000]use Ctrl+Shift+Enter and not only Enter to enter the formula[/COLOR]) and [COLOR=#ff0000]copy to the right until AB2 [/COLOR]and then down.
=IFERROR(REPLACE(B2,LARGE(IF(CODE(MID(B2,ROW(INDIRECT("2:"&LEN(B2))),COLUMNS($C2:C2)))>64,
IF(CODE(MID(B2,ROW(INDIRECT("2:"&LEN(B2))),1))<91,ROW(INDIRECT("2:"&LEN(B2))))),COLUMNS($C2:C2)),0," "),"")