0

Hello i need help Searching a Text String for Special Characters

Something like this e.g

const str = "am trying to find a string's Special Character's now";
Nsamba Isaac
  • 357
  • 4
  • 14
  • https://stackoverflow.com/questions/32311081/check-for-special-characters-in-string – user3532758 Jul 26 '21 at 14:02
  • You cannot nest quotes. This is an invalid JS string: `" am trying to find a string's Special Character's "here" now"` – mplungjan Jul 26 '21 at 14:03
  • Welcome to Stack Overflow! Visit the [help], take the [tour] to see what and [ask]. Please first ***>>>[Search for related topics on SO](https://www.google.com/search?q=search+and+replace+Single+Quotes+String+JavaScript+site:stackoverflow.com)<<<*** and if you get stuck, post a [mcve] of your attempt, noting input and expected output using the [`[<>]`](https://meta.stackoverflow.com/questions/358992/ive-been-told-to-create-a-runnable-example-with-stack-snippets-how-do-i-do) snippet editor. – mplungjan Jul 26 '21 at 14:04
  • @mplungan sorry i have edited it's now remaining with single quote. – Nsamba Isaac Jul 27 '21 at 08:48

0 Answers0