Copy link to clipboard
Copied
I'd need to replace all the "m2" in the document with the "m" followed by (the little) apex "2" (Unicode: 00B2). Can't use the glyphs tab because it's not a matter of replacing an existing glyph but to turn a text into another text that ALSO has an unicode character. Very few about this available online.... only me having this need? Workarounds? (p.s.: need to apply a "replace all" because it's a huge amount of pages. Thnx.
Try this...
Find:
m\K2
Change:
\xB2
Copy link to clipboard
Copied
Try this...
Find:
m\K2
Change:
\xB2
Copy link to clipboard
Copied
Thanks.... seems it doesn't work for me. I've tryed both in Text and GREP tab but result is that are no matches to change.
Copy link to clipboard
Copied
Sorry... it works. The correct syntax is Find:m2, Replace:m\xK2. Thanks
Copy link to clipboard
Copied
... Find:m2, Replace:m\xK2 ...
This can't be correct grep
Copy link to clipboard
Copied
Hello, I would also need this grep function, but the tips in the answers do not work in CC version 2023. If it finds m2 it replaces me with m\xB2 or m\xK2. Can anyone help me? Thank you very much!
P.S. and I need the same grep function to change all CO2 to CO₂...
Copy link to clipboard
Copied
Ok, I was able to solve it at least for m2 like this: find (?<=\<m)2\> and replace with -> Format > Position Superscript
For the CO2: find (?<=\<CO)2\> and replace with the format position Subscript
Copy link to clipboard
Copied
You should apply CharStyle - not local formatting / override.
Copy link to clipboard
Copied
I use similar technique to automatically format st, nd, th in dates after the number of the day. By adding this to the paragraph/character styles, the formatting happens as I import or type the text.
Copy link to clipboard
Copied
That was a good tip, watched a few tutorials and read into the Adobe help and it works wonderfully!
Copy link to clipboard
Copied