I am trying to search the presence of a substring in another string in ES6, which fails even though the target string contains the search text.
After inspecting the string in devtools, I found a small new-line like character in the string which was breaking my search. You can see it in the screenshot before the word today. However, it doesn't show up in the browser (the image just above the devtools), I am not sure where it's coming from.
What is this character, and how do I strip it out from my string?
(I am sure this is a duplicate question, but I just don't know what to search for, so if anyone can point out to the duplicate question, I'd be more than happy to close this one.)

<pre>or hasstyle="white-space: pre", the browser wraps lines when it renders text, so you can't see where the newlines were in the original text.<pre>tag and that shows there was a linebreak in the original string. What is that character called, and how do I get rid of it so my search can work?