From: "Byron Nash" Received: from mail-qk1-f170.google.com ([209.85.222.170] verified) by media-motion.tv (CommuniGate Pro SMTP 6.1.0) with ESMTPS id 7440263 for AE-List@media-motion.tv; Tue, 24 Sep 2019 23:27:19 +0200 Received: by mail-qk1-f170.google.com with SMTP id z67so3351263qkb.12 for ; Tue, 24 Sep 2019 14:30:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rELqxSWtc1705NX6BvJeiSlEKjcpUGlGkKJda+gdNww=; b=MQeIboECdys8/zGgf/MX9J75CkCTKmqlqE1s0PvrgxKdum1MRkSK4dXYeo31lsRBmM C36THb+68KTBnCvnDYHtfymgRcuhDc4ufTe20heYUclOiRr6OOTPTcZiRN0GOMWZ8fU9 81jXF4YaG7dzKLhx6FM4bJGS3pDidEbgHetBRojXfDq+bCyuZkerysbndVLYbJGmqis9 NhX3g5cSKLwGmlzdMsb0vHMLMfVP5+MiIIslQVdgJdAjgOAFXAU72eHxih73Qc/Gh5DG 0Ak+NRcfZ5s8f9LUaLqs10ta/HUEOonrvNYU+0ellCtOh+h0TkS2RPC8ag1RrPHDp4G9 xGkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rELqxSWtc1705NX6BvJeiSlEKjcpUGlGkKJda+gdNww=; b=cuUUYisaZnwgXTtrKl4aMkWM4Tt8BTRFiiXSawP1EtIQbsG92rq+EigdAw/CgR9NRq 6TbynyUAtYRRXJyxcRazXcHUsdCBP2dARFyVSDO0bU79MBG8DDc6ExNAvFq1m6YudCHH uauN4fgcK/bGDZiwNJyvwaouc71GTXJQteLOGbJPG6/KJXjKcOE8fq4ZaXhp7UHNcPrc cXt13I7xeiGPUrd5OZNu4xCudDZOeUbLHvdEIJTG3wko3Q/hAFLwIjIT8/xn71F4wLTr 6sZcOqMdyvzrYpDB9MSW17pp6pGQoGHaiX/ZlqmRyKRzOGyIkC7A3tvMQOajC7y1rPoM o6OQ== X-Gm-Message-State: APjAAAVHjN5nQ4lSKn131b5ZzhEjgvzppnVraTDbQQFHneHFRF01BgVF y99r7BxQLafuEEvj8GVn+U4DLk/LWZrG+tcZUcjYk96zq8U= X-Google-Smtp-Source: APXvYqwZEa3kPaaQGeZorEIBedN0n1bAFGFxr/RQoD8RwcV0EJKxPGXBPmqoBuyQbK6q6cEJBpf4SYq3rhXUm6K8MHY= X-Received: by 2002:a37:9d93:: with SMTP id g141mr236145qke.188.1569360630266; Tue, 24 Sep 2019 14:30:30 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 24 Sep 2019 17:30:19 -0400 Message-ID: Subject: Regex help on expression To: After Effects Mail List Content-Type: multipart/alternative; boundary="000000000000e43db80593533e96" --000000000000e43db80593533e96 Content-Type: text/plain; charset="UTF-8" I'm trying to craft a regular expression to locate some parts of a string and manipulate it with expressions. Do we have any REGEX experts in here? *text.sourceText.match(/(?<=\d)ST|ND|RD|TH/g);* I'm trying to locate one of those strings (ST|ND|RD|TH) *but only if it follows a number.* For some reason the thing returns the string if a word begins with one of those strings. I can't figure out why it's doing that. I'm telling it only look after digits. --000000000000e43db80593533e96 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm trying to craft a regular expression to locate som= e parts of a string and manipulate it with expressions. Do we have any REGE= X experts in here?

text.sourceText.match(/(?<=3D\d)ST|ND|RD|TH/g);

<= div>I'm trying to locate one of those = strings (ST|ND|RD|TH) but only if it follows a number. For some reas= on the thing returns the string if a word begins with one of those strings.= I can't figure out why it's doing that. I'm telling it only lo= ok after digits.=C2=A0
--000000000000e43db80593533e96--