Add regexp into pdfsnip rule to remove extraspaces and linebreaks from snips from pdfs #121
-
I use this editor-toolbar button shared by etardiff in the talk tiddlywiki forum to remove extraspaces and linebreaks between the snips taken from some pdfs. Before removing the extraspaces and linebreaks it looks like this. After removing the extraspaces and linebreaks using the editor toolbar button, it looks like this. Is there any way to add this regex pattern to remove extraspaces and linebreaks into the pdfsnip rule |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
Try this macro, like: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
you can try this:
|
Beta Was this translation helpful? Give feedback.
-
change
#extraInsert=
…On Wed, 24 May 2023 at 20:53, arunnbabu81 ***@***.***> wrote:
you can try this:
#extraInsert=*
@***@***.******@***.***)*))
#rule=/(\.)/g
#term=$1\n((*#extraInsert*))
@***@***.***/#rule/#term*))
***@***.****))\n\n
This one works.
How to modify this code to get each sentence limited by full stop as
separate lines without adding the bullet formatting as shown below.
[image: image]
<https://user-images.githubusercontent.com/67494083/239698396-ea8f233b-3c5b-47c0-976b-9f9b7a0c0c22.png>
—
Reply to this email directly, view it on GitHub
<#121 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVZG457MSMV5XTYPSBFBPDXHZKL3ANCNFSM6AAAAAAYG5DVIQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
you can try this: