How to replace alternative letters in a word or sentence, ignoring capital letters and spaces?

examples:
A Few Good Men --> A F*w G*o* M*n
Scent of a Woman -> S*e*t O* A W*m*n
Scream --> S*r*a*

Thanks