User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
public:nnels:etext:regex [2018/08/17 05:06]
127.0.0.1 external edit
public:nnels:etext:regex [2022/03/01 19:56]
rachel.osolen
Line 66: Line 66:
  
 Find: ''([a-z])-^13([a-z])'' Find: ''([a-z])-^13([a-z])''
 +
 +Replace with: ''\1\2''
 +
 +Using a-z restricts what it finds to lowercase.
 +
 +You will likely have to do it again for lines that end with a comma, and possibly en and em dash. Look through your document for patterns of anything else it might have missed.
 +</WRAP>
 +
 +----
 +
 +<WRAP center round box 80%>
 +**PROBLEM**: Hyphenated words that break single word (not over two lines).
 +
 +**SOLUTION**: Replace with the same text minus the hyphen.
 +
 +Find: ''([a-z])-([a-z])''
  
 Replace with: ''\1\2'' Replace with: ''\1\2''
Line 90: Line 106:
  
 ---- ----
 +
  
 <WRAP center round box 80%> <WRAP center round box 80%>
public/nnels/etext/regex.txt · Last modified: 2024/05/09 05:04 (external edit)