Copy link to clipboard
Copied
There used to be a great GREP code here "https://forums.adobe.com/thread/875126" for turning all hyphens between numbers into en-dashes, without affecting the numbers -- it worked for any number of digits. As these old forum links aren't working at the moment could anyone offer up some tasty grep code to help?
E.g. 1-2, 3-12, 14-25, 43543254325-54254352435, etc...
Sure.
Find: (\d+)-(\d+)
Change: $1~=$2
~Barb
Copy link to clipboard
Copied
Sure.
Find: (\d+)-(\d+)
Change: $1~=$2
~Barb
Copy link to clipboard
Copied
Many thanks. I'm sure the one I've used previously was more complex, but that worked great -- thanks again!
Copy link to clipboard
Copied
Happy to help, Adam.
~Barb
Copy link to clipboard
Copied
Hi, is there any chance to replace hyphen sign in all text (auto hyphen when you choose language) with en-dash?
Copy link to clipboard
Copied