Find- and encode emails within a string (or rich text field)

Added (replaced) with a regular expression to find all email links within rich text fields.