Thanks to this thread i actually started thinking of some new solutions which i will have to try out to see if they work.
Already having some problem though with the initial split on words instead of spaces since the \w+ also needs to include swedish characters ÅÄÖåäö.
Something along the lines of /\b[A-ZÅÄÖ][a-zåäö]+\b/ only matches some words, and as mentioned above, well my regex is subpar.
In reply to Re^2: Preserve original text formatting.
by larsb
in thread Preserve original text formatting.
by larsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |