Skip to main content
Inspiring
Mar 3, 2025 9:04 AM UTC
Question

grep style to be applied before tab

How can I get a grep style to be applied before the tab spacing?

25 replies

Mike Witherell
Community Expert
Community Expert
Mar 3, 2025 5:12 PM UTC

Could you Show Hidden Characters on that one line that doesn't work? Maybe it has no tab in it?

Translate
Mike Witherell
Peter Spier
Community Expert
Community Expert
Mar 3, 2025 5:18 PM UTC

Could also be a soft return on the line above...

Please show hidden characters in ALL your screen shots.

Translate
Participating Frequently
Mar 3, 2025 5:26 PM UTC

Soft return does not matter

Translate
Participating Frequently
Mar 3, 2025 11:48 AM UTC

Use this

^.+?\t

as grep style and everything before a tab gets bold.

Translate
Peter Spier
Community Expert
Community Expert
Mar 3, 2025 11:55 AM UTC

Grep styles are less efficient than nested styles and should be avoided when unnecessary.

Translate
Participating Frequently
Mar 3, 2025 12:07 PM UTC

Oke than a nested style

Translate
Peter Spier
Community Expert
Community Expert
Mar 3, 2025 10:07 AM UTC

Wee need more information on the actual structure of the text to know for sure, but I suspect you don't actrually need a GREP style for this and an ordianry Nested Style applied up to one tab would be better.

Translate
Inspiring
Mar 3, 2025 10:11 AM UTC
I'm trying to get all ing and amounts before the tab in bold
[image: image.png]
Translate
Peter Spier
Community Expert
Community Expert
Mar 3, 2025 10:13 AM UTC

You need to come back to the fiorum to attach your image. Email replies don't work.

Translate