Its only possible because Norman implemented it in the IDE so I could write that reformat code script
Technically ReplaceWords will work for changing the case too, so you could enter:
hello,HELLO
and it would change hello to HELLO and similarly for case
hello,HeLLo
would change hello to HeLLo
Or had you some other method/system in mind?