Hello,
Can someone please help? I'm trying to extract numbers from a field that are followed by the letters CY.
so in this example i only want to extract the numbers 2020 from the string below. This number will change but will always be followed by CY or cy
U9898 Happy go lucky until 2020CY or until today 321 |
Solved! Go to Solution.
Hi @lac
Here's 2 ways, one regex, one text parsing:
Regex: .*(\d{4})CY.*
Formula: tonumber(substring([Field1],findstring(UPPERCASE([Field1]),'CY')-4,4))
Thank you this was super helpful
User | Count |
---|---|
19 | |
15 | |
15 | |
9 | |
8 |