I am trying to find that there are special characters(like dots,numbers,semicolons etc.) But the IndexOf() doesn't work.How can i find the special characters if they exist in string in js?

Welcome to the GitHub community, @mrcihantoker ! We’re happy you’re here. You are more likely to get a useful response if you are posting your question(s) in the applicable category and are explicit about what your project entails–giving a few more details might help someone give you a nudge in the right direction. I’ve gone ahead and moved it for you. Good luck!