title: Remove all characters except alphabets and numbers from a Ruby string
body: <p>I have a string input field in a form. I get that value in params hash. How should I remove all characters except alphabets and numbers from that string.</p>