Detects words, emails, phones, sites

Github repository : https://github.com/alytvynov/spam-analyzer

Spam analyzer allows to detect predefined list of bad words. And the mapping of replacement.

Also it highlights emails, phones, sites.

Example

Input

Output

Tests

There are also some initial tests which prove the validity of code and it’s non regression in the future releases.

Thank you for your attention

Thank you for your attention. If you have any questions feel free to contact me. I‘ll be glad to help you.

LinkedIn, Twitter, Google+, https://lytvynov-anton.com

Senior web developer, architect, cryptocurrencies trader, https://lytvynov-anton.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store