RE:
If they always come at the beginning of the line, you could try:
Find: ^(\d+)
Replace: Paragraph \1. (note the space at the end
Grep: on
This appears to works well! Thanks so much! I'll write in again after next
mp3 listening. I have a lot of PDFs to process and see how it all flows
If they always come at the beginning of the line, you could try:
Find: `^(\d+)`
Replace: `Paragraph \1. ` (note the space at the end
Grep: `on`
Good luck!
-sam
On 30 Oct 2018, at 9:22, bo wrote:
Wow, thanks so much! This:
Find: [\r ](\d+)\r
Replace: \rPage \1\r
Grep: on
This seems to have
Wow, thanks so much! This:
Find: [\r ](\d+)\r
Replace: \rPage \1\r
Grep: on
This seems to have done it very well! After that i was able to do the \n
for periods… I’ll try this in TTS (text to speech) next, to improve
listening.
If there is an easy way to modify paragraph numbers, preceded
Thanks for the sample. It looks sometimes the page number is on its own
line, and sometimes it’s at the end of a line of text. There’s only
one newline after it (not two as in your previous sample) and either a
newline or a space before it. So try this:
Find: `[\r ](\d+)\r`
Replace: `\rPage
New Effort Oct 29, Please:
It so happens that there are multiple varieties of “plain text”. Some
versions remove all line breaks, from pasted text. Some versions remove the
line break preceding a page break but retain the line break following the
page break.
I (just now) installed an
PS-2
I tried unchecking the box: Grep an then clicking Replace And find.
The result was this:
(Three line breaks followed by:)
page \1
--
This is the BBEdit Talk public discussion group. If you have a
feature request or need technical support, please email
"supp...@barebones.com" rather
"...However, once you have extracted content from a PDF file, you
can then transfer that content to another app.
For instance, if you have a PDF which contains text, you can
open that PDF in Preview.app, then select & copy some (or all)
of its contents, and paste the copied text into a
PS- Does this help? I just tried Selecting All, inside the BBEdit entry
window and then got this...
"The replacement string couldn’t be computed, because the previous Grep
search did not succeed (application error code: 12003)."
--
This is the BBEdit Talk public discussion group. If you
On 10/26/18 at 1:55 PM, boatkin...@fairpoint.net (bo) wrote:
I also tried to see if BBEdi would open or import the PDF file
more natively, but thePDF files all looked greyed out, (not selectable).
Since PDF is a binary file format, you must use an application
which understands that format
Thanks, I tried copy-pasting your inputs into the Find windows, along with
my copy-pasted text from the PDF, in the main window, but it would not
process.
I also tried to see if BBEdi would open or import the PDF file more
natively, but thePDF files all looked greyed out, (not selectable).
--
I assume you’ve already converted the PDF to plain text in order to
get it into BBEdit. (If not you have bigger problems.)
Would this work?
Find: `\r\r(\d+)\r\r`
Replace: `\r\rpage \1\r\r`
Thanks.
-sam
On 26 Oct 2018, at 10:54, bo wrote:
Here are 2 paragraphs with a page break and it's
Here are 2 paragraphs with a page break and it's number, past from a PDF
7Esoteric life views satisfy legitimate demands of intellectuality and
ideality. Everybody has to decide for himself. Nobody who knows what
responsibility means will take on him the responsibility for prescribing to
If you could give us an example input and desire output that would be
helpful.
-sam
On 26 Oct 2018, at 8:45, bo atkinson wrote:
Can anyone show me, (new to code editing), how to insert the plain
word
“page” before each page number, of a PDF file? The output from
BBEdit can
be plain text.
Can anyone show me, (new to code editing), how to insert the plain word
“page” before each page number, of a PDF file? The output from BBEdit can
be plain text.
I have many PDFs from one- same source to export to a text-to-speech,
read-to-me software. Text to speech software tends to
14 matches
Mail list logo