How Do I Replace Text with Number using RegEx?

A post was split to a new topic: Replace Month Name with Number