fork download
  1. #!/bin/bash
  2. stringinput='Sweééééôden@';
  3. stringoutput=$(echo $stringinput | LC_ALL=C sed 's/[^A-Za-z0-9]//g');
  4. echo "$stringoutput";
Success #stdin #stdout 0s 4724KB
stdin
Standard input is empty
stdout
Sweden