Languages

Javascript - how to replace all character that is not a letter or number with underscore and also replace Polish letters with English letters

5 points
Asked by:
Krzysiek
741

I have code:

My current resut:

 

What is the best way to make from input string the result string:

I have also regex that works in notepad++

 

 

1 answer
2 points
Answered by:
kris_coder
21050

Solution:

See also

0 commentsAdd comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join