Home › Forums › Indesign Tips › Indesign CC 2019 Tip no 37 in Hindi : Fixing Orphan or Widows Words and Orphan Sentences Using GREP – Hindi Video
Tagged: indesign
- This topic has 0 replies, 5 voices, and was last updated 2 days, 2 hours ago by
Rohan Khanna.
-
AuthorPosts
-
-
20th August 2021 at 10:53 pm #3379
Rakesh Bhardwaj
KeymasterIf you are layouting a magazine or a book then fixing all the widow words or orphan lines may take a significant amount if time. But do you know you can easily fix them just using GREP. You only need to add some chunks of code to paragraph style and all the widow or orphan lines will be fixed automatically. Just watch the full video.
Complete list of all the Indesign CC tutorial till date… many more to come in the future:
-
25th November 2025 at 1:55 am #26846
Rohan Verma
ParticipantTried this GREP method for fixing widows and orphans in my InDesign layout—worked surprisingly well for quick fixes. It caught most single-word lines at the end of paragraphs, but I had to manually adjust some exceptions where the GREP pattern didn’t account for punctuation properly. Still, way faster than hunting them down one by one!
-
27th November 2025 at 9:44 am #27028
Sanjay Sharma
ParticipantJust a quick note: GREP styles can help with widows and orphans, but they can’t completely prevent them because they’re based on text patterns, not actual line breaks. For better control, combining GREP with paragraph composer settings and adjusting tracking or using non-breaking spaces might be necessary. So, relying solely on GREP won’t fully fix all widow and orphan issues.
-
2nd December 2025 at 4:25 am #27314
Rohan Patel
Participant@Rakesh Bhardwaj You can use GREP styles to help with widows and orphans, but it’s important to note that GREP alone can’t fully prevent them since it’s mostly about pattern matching text, not controlling line breaks. For better control, combining GREP with paragraph composer settings or adjusting tracking and kerning may be necessary. Also, keep in mind that InDesign has specific Widow and Orphan controls under Paragraph settings, which often provide a simpler and more reliable fix without needing complex GREP.
-
2nd December 2025 at 10:27 pm #27356
Rohan Patel
ParticipantTried using GREP for fixing widows and orphans like you suggested, but it really didn’t work for me. I followed the typical patterns for matching those last words or short lines, but it either missed most cases or ended up messing with the entire paragraph flow. Maybe it depends on the InDesign version or specific layout settings? Anyone else faced this?
-
3rd December 2025 at 12:03 am #27377
Rohan Patel
ParticipantAre you talking about using GREP styles in InDesign to catch widows and orphans? I’m not sure if GREP alone can fully fix those since it mostly matches patterns of text, but maybe you can set a GREP style to add non-breaking spaces or something to keep lines together? Or perhaps use GREP to find short last lines and then manually fix them after?
-
3rd December 2025 at 6:11 pm #27406
Rohan Khanna
ParticipantTried your GREP approach for fixing widows in my InDesign layout and it definitely sped up the process compared to manual fixes. Just a heads up, it didn’t catch every single orphan line in my multi-column spreads, so I had to do a quick manual pass afterward. Still, much faster overall!
-
-
AuthorPosts
- You must be logged in to reply to this topic.