Styling Text with Text Animators

    0
    35

    How to use expression selectors and regex to style text in AE
    Project File: http://workbench.tv/tutorials/2020-04-06_StylingText
    Help support Workbench: http://workbench.tv/support/
    Merch: http://workbench.tv/products/merch/
    Paypal: https://www.paypal.me/workbenchtv

    Social
    ***********************************************************
    Instagram: http://instagram.com/workbenchtv/
    Twitter: https://twitter.com/workbench_tv
    Facebook: http://facebook.com/workbenchtv
    Twitch: http://twitch.tv/failbench/

    In this tutorial, I’ll show you how to use regular expressions—aka regex—to style text using the expression selector in text animators. This is particularly useful if you want to change a lot of things that can be broken down into patterns or if you have text you can’t easily modify, like text coming from a CSV.

    The basic idea is to look for a regex pattern, and then save a string with all of those matches replaced with a certain special character. After that, we do a simple check on that saved string and every spot we find that special character, we set our expression selector to 100.

    This idea was sparked by Luis Martínez (https://www.youtube.com/watch?v=wgiaNEQit3g) , who sent me a comment about his method. So make sure to go see how he did it! This tutorial uses his regex to remove the hidden control characters.

    I also mentioned Zack Lovatt’s ASH Syntax Highlighter (https://aescripts.com/ash-syntax-highlighter/) in this tutorial, which I’d assume does what I did here as an experiment—but in a better and faster way. So check it out if you need that specific functionality.

    I hope you enjoy this one. It has some specific, but really useful utility!

    #AfterEffects #MotionGraphics #mograph

    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here