In a weird case of mine, I cannot use the built-in regexp in js when I try to inject js to WebView.
What could be my second best thing to use? I basically use regexp to detect:
line-feed(
someString.match(/\n/))cartridge return(
someString.match(/\r/))split string into words(
manyWords.split(/\s+/))
But other ways to achieve regexps without js built-in regexp will be appreciated as well.