I have a field like thisand I want to extract the following from this.
The unit is always "cm" so basically I need to extract the first number from the left and after the last number from the right a space and then 2 more characters.
Please help.
Thanks
1 answer
Hi @Juniper Lewis ,
You can use a regular expression for this. Here's what I came up with:
.+?([0-9]+.*?)\scm
Feel free to test here at regex101. In tableau, you'll want to use REGEXP_EXTRACT. Example below:
Best,
Bryce