str = 'æøasdasd\89-asdasd sse';str = str.replace(/[^æøå\w -]+/g, '').replace(' ', '-');print(str);
Standard input is empty
æøasdasd89-asdasd-sse
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!