How can I tell the computer not to copy unimportant information ?
For example if I go to this page and copy the first paragraph, I'd get:
Sentence spacing is the horizontal space between sentences in typeset text. It is a matter of typographical convention.[1] Since the introduction of movable-type printing in Europe, various sentence spacing conventions have been used in languages with a Latin-derived alphabet.[2] These include a normal word space (as between the words in a sentence), a single enlarged space, two full spaces, and, most recently in digital media, no space.[3] Although modern digital fonts can automatically adjust a single word space to create visually pleasing and consistent spacing following terminal punctuation,[4] most debate is about whether to strike a keyboard's spacebar once or twice between sentences.[5]
I do not wish to copy those <sup> words. This is what I actually wanted:
Sentence spacing is the horizontal space between sentences in typeset text. It is a matter of typographical convention. Since the introduction of movable-type printing in Europe, various sentence spacing conventions have been used in languages with a Latin-derived alphabet. These include a normal word space (as between the words in a sentence), a single enlarged space, two full spaces, and, most recently in digital media, no space. Although modern digital fonts can automatically adjust a single word space to create visually pleasing and consistent spacing following terminal punctuation, most debate is about whether to strike a keyboard's spacebar once or twice between sentences.
Of course I could do this manually, but there must be a better solution. Any ideas?
The answer below uses regex but the problem with that is that it doesn't work for all times.
See, if the actual text itself contains [ and ] which aren't -ed, obviously they are part of the information and should not be removed, but wiht the regex it will be removed, Big error!