Javascript Function Code to Clean Up String
JS Function to Clean up String Being Precise with what you Remove or Keep in the String Including: Line breaks, Tabs, Multiple Spaces, Carriage Returns, Non Numbers and Letters
The below function will allow you to really clean up a string being precise with what you remove or keep in the string including ...
- Line breaks (which get converted to a single space).
- Tabs.
- Multiple spaces.
- Carriage returns/new lines.
- Non numbers and letters.