View Single Post
 
Old 06-25-2017, 05:52 AM
eduzs eduzs is offline Windows 10 Office 2010 32bit
Expert
 
Join Date: May 2017
Posts: 266
eduzs is on a distinguished road
Default

Thanks!
I explain, in the text I have "pp", "ppp", "ppppp".... I don't know how many in sequence, and I need to change all this to a only one "p", so I (by what I know) can't do a single find and replace "pp" to "p".
So the code is keeping "pppp", "ppppp" in the document
Is there a wildcard that replace a unknown number sequence of repeated "^p" to a single "^p", or, another aproach, delete all len(p)=1 paragraphs?
__________________
Backup your original file before doing any modification.
Reply With Quote