How to replace page numbers?
I am reading a badly formatted pdf article that has page numbers embedded in the text.
This appears occurs inside the text like this:
Where I do not know the composition of the blank lines: They may be white spaces, or genuinely blank lines.
Also, the page numbers are 1-3 digits long.
I have set a pause of 2 seconds for "end of paragraph". So the reading pauses for 2 seconds, spells out the page number, and again pauses for 2 seconds. As a result, any sentence that overflows a page is broken awkwardly.
I used the edit speech
feature, and entered \(\.p\d+\)
as a pattern, and left the replacement blank. But it does not work at all. How do I correct this?
Also, how do I match the blank lines, given that they may actually contain spaces, newline character or new paragraph character? I tried to use " *" (a space followed by asterisk) to match these lines, but that did not work, either.
(I used a separate Edit speech
entry to match the blank line.)
Finally I would like to combine these patterns to catch them as a single pattern that is to be ignored.
BTW the entries are enabled (tick appears in the checkbox), so that's not the issue...
post edited by Narayan - 2021/09/06 04:19:01