Regex: Substitution
Suppose we have an original string to be manipulated, namely test . In this particular case, we will find all matching pattern (all words follow by dot character) and replace the dot with a versatile symbol (or a hashtag, "#").