Question
GREP reference; need end-of-paragraph expression
GREP reference; need end-of-paragraph expression
I'm doing a canned GREP search to delete all trailing zeros. So if I have a number like 8.2500, it changes it to 8.25.
I have the code to find zeros leading up to a space, line break, and paragraph return but I can't find the expression for an end of paragraph. With hidden characters on, it looks like a hash ( # ).
Does anyone know what this is?
If anyone knows a more elegant way to do this, please advise. Here's what I have:
0+$|00+$|000+$|0000+$|.0000+$|0+\s|00+\s|000+\s|0000+\s|.0000+\s|0+\n|00+\n|000+\n|0000+\n|.0000+\n|0+\r|00+\r|000+\r|0000+\r|.0000+\r
I'm doing a canned GREP search to delete all trailing zeros. So if I have a number like 8.2500, it changes it to 8.25.
I have the code to find zeros leading up to a space, line break, and paragraph return but I can't find the expression for an end of paragraph. With hidden characters on, it looks like a hash ( # ).
Does anyone know what this is?
If anyone knows a more elegant way to do this, please advise. Here's what I have:
0+$|00+$|000+$|0000+$|.0000+$|0+\s|00+\s|000+\s|0000+\s|.0000+\s|0+\n|00+\n|000+\n|0000+\n|.0000+\n|0+\r|00+\r|000+\r|0000+\r|.0000+\r