webe digital interview question

How do you sanitize an input on web client?