webe digital Interview Question

How do you sanitize an input on web client?