Skip to main content
Inspiring
March 3, 2025
Question

grep style to be applied before tab

  • March 3, 2025
  • 3 replies
  • 2882 views

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

3 replies

Mike Witherell
Community Expert
Community Expert
March 3, 2025

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

Mike Witherell
Peter Spier
Community Expert
Community Expert
March 3, 2025

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

Please show hidden characters in ALL your screen shots.

Participating Frequently
March 3, 2025

Soft return does not matter

Participating Frequently
March 3, 2025

Use this

^.+?\t

as grep style and everything before a tab gets bold.

Peter Spier
Community Expert
Community Expert
March 3, 2025

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

Participating Frequently
March 3, 2025

Oke than a nested style

Peter Spier
Community Expert
Community Expert
March 3, 2025

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.

Inspiring
March 3, 2025
I'm trying to get all ing and amounts before the tab in bold
[image: image.png]
Inspiring
March 3, 2025

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


w