in reply to Replacing numbers using regular expression
s/\d/\#/g; [download]
If this is not what you want to do, please explain in more detail.