On this site, on this article when you select all of its text it somehow includes text from readerly buttons (I checked the source) and removing the characters with a .replace function does not even work.
I clicked with the left click button of mouse slightly on the left of the beginning of the text then moved the mouse and clicked slightly to the right of the end of the text and pressed shift to select that
http://www.independent.co.uk/news/world/americas/us-politics/nato-defence-secretary-james-mattis-increase-military-spending-us-moderate-commitment-russia-eastern-a7581981.html
On this site, on this article when you select all of its text it somehow includes text from readerly buttons (I checked the source) and removing the characters with a .replace function does not even work.
I clicked with the left click button of mouse slightly on the left of the beginning of the text then moved the mouse and clicked slightly to the right of the end of the text and pressed shift to select that
version: my own fork