ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Superscript Text with Specific Value(s)

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Zak Adams
Superscript Text with Specific Value(s)
on Feb 19, 2018 at 9:19:41 pm

Hey there,

I have some addresses being populated into some text fields via a json file. Sometimes the addresses contain numbered street names (3rd, 21st, etc). I'm looking for a way to determine when the characters "st", "nd", "rd" and "th" are being used in the fashion and have them be scaled down and positioned up via a text animator.

My javascript is pretty rudimentary, and I'm not sure how to get the expression to accurately identify these characters. I think it should have something to do with them directly following a number, but how to code that is eluding me.

Thanks for your thoughts!


Zak Adams | Creative Arts and Production Pastor
The Salvation Army Kroc Center

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved