Try (?<=\d\.)\d+ which should select all digits after the decimal point. If you only want the digits from the thousandths plcae and beyond, use (?<=\d\.\d\d)\d+
Apparently, the OP would like to have what he makes in "purple"!
I really don't know what he wants to select.
Aha! Difficult to give a good answer in this case!
Between us, if he only wants what he puts in "purple"! …
it's hard to do this with Grep (or grep style).
It's not possible to do this with one Grep (or grep style).
You need three greps for your example numeral (or more greps if there a more „decimal percentile“ exists).
But perhaps it's easy for you with an nested style in your paragraph format (but only if you have only one numeral stand alone in your paragraph):
pixxxel schubser schrieb:… It's not possible to do this with oneGrep (or grep style) …
I think you've posted the wished result.
But why without the solution?
- grep 1: You change in step one the color of all characters after a digit with the dot?
- grep 2: And then you change the color of two of three signs with the new color back to the old color?
I hope 喜狼_edny has no numerals (without a dot and following digits) in the document. This case fails with your grep varinat.
IMHO I think it is better (or safer) to create multiple greps ( for the third digit after digit and dot, the sixth one , the the ninth one and so on …)
Yes, exactly as I meant it.
Yes, as you want to, but I want to put them together.
(?=(\.(?<=\d\d)+))(\d) to Control the decimal part.
and this:(?<!(\.\d+))(\d)([[:blank:]]*,*)(?=(\d\d\d)+(?=\D)) to control The integer part
but (?<!(\.\d+)) Also no effect.
The integer and decimal together is:(?<!(\.\d+))(\d)([[:blank:]]*,*)(?=(\d\d\d)+(?=\D))|(?=(\.(?<=\d\d)+))(\d)