Posts

Showing posts from December, 2023

Regex: Substitution

Image
  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, "#").