From: "Byron Nash" Received: from mail-qk1-f174.google.com ([209.85.222.174] verified) by media-motion.tv (CommuniGate Pro SMTP 6.1.0) with ESMTPS id 7440380 for AE-List@media-motion.tv; Wed, 25 Sep 2019 14:16:35 +0200 Received: by mail-qk1-f174.google.com with SMTP id 201so4989210qkd.13 for ; Wed, 25 Sep 2019 05:19:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=s5kPEynrLfiBO9qm51w4su17rMz+c8/3u54WY2aMn7U=; b=tvlwhoMJqDPiSNixOi6tJ5HUbSYkh/aXtAof5Ya1RresP/EABQ0aIoxek/uW2F9jid GsicNZvg9QcbykbD+oiD1sKo1+yBQbwJga/w041lwEV5X4+Nl1y7SE6qq6s/8TGZI4mT yo/+WyaaK8nWPmqIXBrhav/tik27hqVYd7WltUH1QhAG9hSfhz8baJtO3oSDjNxkC158 Igc9f5L18UHfi4uyJ4uFobSLD0D5JzBCxhWN290tDMPwqTzYNJ4np5brXK/H4CvPM2ph HrLaV1j1rOp84wk1hK4xA/oXpz304efZ5/0fKeFoOVjyytuzD//H+vOerGKfJES+KhBM HzGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=s5kPEynrLfiBO9qm51w4su17rMz+c8/3u54WY2aMn7U=; b=myLVdhXiMScSN/+WUXW1fq9nrGNswEpjgjeFxqJRFWN0EGiuhKD6T69HKwo1o5GN6h u0PlOeJ8q+pANtBfsdBHhZegublMZH1XeZdEEcjaXy5LlBRKHo/O9HlWqmW4RDIxBJRm 4cEnPRMLPli5j9NWKjVDkIHXer0ZfEOfgXuWbm4VjNWti22QEdzg92EvY4MsHYHbs3N1 DvunSe5fulDp4gYJ/4uE4qjUfXUReZZdc6tGSluKKBheCmCeB/aGZW6XO4KrcClaD1hD aweMmF28Eo+5WNa+vK090gevkegNnd26vo9j28eX5BkFnYbPyeOhTWBb+E8ObUgXOlyF KM7A== X-Gm-Message-State: APjAAAWHQSF7AKMa6/QzGsIFII8pebfZB4GiZMP1/cIojnfLbsFMCnAm kMbzKAunwAJclr5zmify+ypPvCwxe1xShnNcADavVL9k X-Google-Smtp-Source: APXvYqxGEnFZWvxuW8o3pCDY1yD+63jddv/wLPU2+3ux2x4NMIvJU0qcCGUQjZZ9CwCvck5pw4bmtgKLZWiHQY4FCiY= X-Received: by 2002:ae9:ee0d:: with SMTP id i13mr3152965qkg.417.1569413986999; Wed, 25 Sep 2019 05:19:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 25 Sep 2019 08:19:36 -0400 Message-ID: Subject: Re: [AE] Regex help on expression To: After Effects Mail List Content-Type: multipart/alternative; boundary="00000000000033640e05935fab71" --00000000000033640e05935fab71 Content-Type: text/plain; charset="UTF-8" Thanks Lloyd, that does return the string plus the digits. Do I not need the lookbehind to just return the string? I tried adding the lookbehind back in but it doesn't work. Nathan, I didn't run across that site but I will check it out, thanks! On Tue, Sep 24, 2019 at 7:07 PM Lloyd Alvarez wrote: > Try this: > > *text.sourceText.match(/*[0-9]+(ST|ND|RD|TH)*/g);* > -- > Cheers, Lloyd > --00000000000033640e05935fab71 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Lloyd, that does return the string plus the digits.= Do I not need the lookbehind to just return the string? I tried adding the= lookbehind back in but it doesn't work.

Nathan, I d= idn't run across that site but I will check it out, thanks!
=
On Tue= , Sep 24, 2019 at 7:07 PM Lloyd Alvarez <AE-List@media-motion.tv> wrote:
Try this:

= text.sourceText.match(/[0-9]+(ST|ND|RD|TH)/g);
--
Cheers, Lloyd
--00000000000033640e05935fab71--