in reply to Re: Preserve original text formatting.
in thread Preserve original text formatting.
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Preserve original text formatting.
by hippo (Archbishop) on Sep 10, 2015 at 16:43 UTC | |
|