Page 1 of 1

Getting 'No. 47' to be 'Number 47' not 'No 47'

Posted: Wed Dec 14, 2011 1:38 am
by cosmiccostello
I think the subject line is fairly clear! I can't figure out how to get TA3 to read the abbreviation "No." as "number" while leaving "No. I don't want any pie." as "no," etc.

I tried using an "No. ###" expression with boundary required on the left (figuring I'd unlikely need more than 3 digits since few people are going to list 1,000 items as "No. 1,000"). No luck.

My eyes start swimming pretty fast with expressions so I'm hoping someone has encountered this before and solved it.

Thanks!

Rob

Re: Getting 'No. 47' to be 'Number 47' not 'No 47'

Posted: Wed Dec 14, 2011 11:01 am
by Jim Bretti
Hi Rob,

A regular expression would probably work better in this case. Try setting the Text Matching dropdown to Regular Expression, and use this as the expression:

(?<=\b)No. (\d+)

The plus sign used with \d+ causes a match on one more digits, so it should match numbers between 1 and 999

Set the Pronounce Using dropdown to Respell, and use this:

Number $1

Let me know if that doesn't work.