I have a string of the form
and so on
Is there a smart regexp one liner that could produce
If anyone types just for example
than that should produce 
for any of the above input? I know that there will be an m or an h.