Creating custom ansible filters

When we being to have complex text transformation needs using just the built-in ansible filters you will probably end up in the same spot each time, an unreadable string of chained filters, In comes custom ansible filters....