Forum Replies Created
-
AuthorPosts
-
Dhafir Photo
ParticipantSeptember 21, 2023 at 5:17 am in reply to: GREP to search all end of paragraph without a full stop and add it automatically #14395977Dhafir Photo
ParticipantIn this case you should say “find every sentence doesn’t end with a dot”. So try this:
in Find: \u[^.]+?(?=\u)
in Change: $0.September 20, 2023 at 10:25 am in reply to: GREP to search all end of paragraph without a full stop and add it automatically #14395960Dhafir Photo
ParticipantUse this, with Change/Find, not with Change All
in Find: [^.!?:~e]$(?!)
in Change: $0.Dhafir Photo
ParticipantYes! Exactly “Extended Undo/Redo – Marijan Tompa (tomaxxi)” This is exactly what I was referring to, but I did not find a download link to share at the time.
Thank You Mike!Dhafir Photo
ParticipantUndo/Redo Extended
Dhafir Photo
ParticipantUse this:
in Find: ×\d+\K\.|\.(?=\d+×)
in Change: ,August 1, 2023 at 4:05 am in reply to: GREP Code applying superscript only to 1 or 2 letters #14394655Dhafir Photo
ParticipantSorry i forgot the second part of the regex!
Use this:
in Find: \<n\K(os?)\.?(?=\d)August 1, 2023 at 3:49 am in reply to: GREP Code applying superscript only to 1 or 2 letters #14394653Dhafir Photo
ParticipantUse this:
in Find: \<n\K(os?)\.?
in Change: $1
in Change Format: Open type superscriptMarch 5, 2023 at 8:18 pm in reply to: GREP code to find single character P or p but not p. or P. #14388089Dhafir Photo
ParticipantTry this:
\<(?i:p)\>(?!\.)Dhafir Photo
ParticipantShould be someone on the other side of the earth to guard the forum in the night
February 7, 2023 at 1:36 pm in reply to: Optical Margin Alignment/Hanging Punctuation with GREP Style Quotes #14386110Dhafir Photo
ParticipantTry this trick: Add a space before the quote mark with a large minus number of tracking for the space, e.g. -650
Dhafir Photo
ParticipantIf you change some setting in the new paragraph, won’t update again when you change it in the master paragraph
Dhafir Photo
ParticipantUse this: \d\K*(st|th|[nr]d)\> with superscript character style
Dhafir Photo
ParticipantYou can do it automatically by using GREP Style
First create character style for the new apostrophe, then copy the old apostrophe and paste it in “To Text” fieldAugust 18, 2022 at 9:41 pm in reply to: GREP for Non-Breaking Space before Last Word in Paragraph? #14369679Dhafir Photo
ParticipantUse this:
in Find: +(?=\S+*$)
in Change: ~S -
AuthorPosts
