This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
public:nnels:etext:regex [2017/10/01 16:56] sabina.iseli-otto Page moved from public:nnels:public:nnels:etext:regex to public:nnels:etext:regex |
public:nnels:etext:regex [2017/11/02 18:46] farrah.little |
||
---|---|---|---|
Line 74: | Line 74: | ||
In LibreOffice, | In LibreOffice, | ||
+ | |||
---- | ---- | ||
- | <note important> | ||
- | |||
- | < | ||
- | - Paragraphs will be separated by a blank line. replace those with a unique set of characters that won't be in the text, e.g. '' | ||
- | - If the lines all end with a space, replace all '' | ||
- | - Finally, replace all '' | ||
- | * If the lines wrap properly but there is still a blank line between paragraphs, then a simple replace '' | ||
- | |||
- | < | ||
- | - Find and replace all double paragraphs | ||
- | * initiate a find for, ^p^p | ||
- | - Replace with a unique symbol or code, eg, ' xswedc ' | ||
- | * (I found placing a space before and after helps make it even more unique and avoid it bunching up with other double paragraphs) this isn't anything special about these letters, other than that they are a unique string of letters we can search on later | ||
- | - Find and replace all remaining single paragraphs, find = ^p, replace = [single keyboard space] | ||
- | - Find and replace all the double paragraphs you previously changed into a special symbol or code and change back to a single paragraph | ||
- | - Find and remove all line breaks, change into double or single paragraphs instead (find = ^m, replace = ^p )</ | ||
- | |||
- | ---- | ||
**PROBLEM**: | **PROBLEM**: | ||
Line 130: | Line 113: | ||
* '' | * '' | ||
- | ---- |