I want to add a filter to strip whitespace and newlines from a text input box so I can pipe the sanitized string to a command.
Documentation is a bit sparse (and my Python a bit basic) so does anyone have an example?
Perhaps there’s a better way of doing it – regex maybe?
Any ideas?
Thanx,
--Russell
--