re_replace(+Pattern,
+With, +String, -NewString)\N
or $Name. Both N and Name may be written as {N} and {Name} to avoid
ambiguities.
| Pattern | is the pattern text, optionally
follows by /Flags. Flags may include g, replacing all
occurences of Pattern. In addition, similar to re_matchsub/4,
the final output type can be controlled by a flag a (atom)
or s (string, default). |