Forum Replies Created
- AuthorPosts
- WmMitchellParticipant
Extended version:
Find:
([0-9]+) ([¼,½,¾])
Replace with:
12That is amazing! I really thought that was going to work. It’s very confusing to be dealing with a whole bunch of software applications, but I seem to remember using something similar a long time ago in Word and it works in Word. But, unfortunately, it didn’t work here.
I really liked the extended version since it would take care of all number-fraction combinations, but the 1 and 2 didn’t work as expected in EmEditor.
When I ran the macro, which looks like this:
document.selection.Replace(“([0-9]+) ([¼,½,¾])”,”12″,eeFindNext | eeReplaceAll | eeFindReplaceRegExp); /* Remove space between number & fraction.*/I get those funny little boxes come up in the editor:
[ ] [ ]
rather than, say, 1½.We’re close (“we”??!! I mean, obviously, you), but this isn’t quite right. Can you suggest how to fix? The 1 and 2 should put the number and fraction back that was there before, instead it’s replacing it with little boxes. (?)
Thanks.
- AuthorPosts