Copy link to clipboard
Copied
Hi I'm looking for GREP to style the numbers below:
1. This is text
22. This is text
140. This is text
So, the code should select 1-3 numbers followed by a period.
Can anyone tackle that for me?
Thanks,
Ash
By security:
^\d{1,3}\.(?=\h)
Copy link to clipboard
Copied
^\d+?\.\h*(.)
Copy link to clipboard
Copied
Thank you for your quick response. However this code is causing the first character of the text (This is text) to be styled, which I don't want. Only the numbers and period.
Thanks
Copy link to clipboard
Copied
^\d+?\.\h*
If you do not want to find space: ^\d+?\.
Copy link to clipboard
Copied
By security:
^\d{1,3}\.(?=\h)
Copy link to clipboard
Copied
Thank you, thank you, thank you!