Hi all,
I was unable to find an answer I needed so I thought I would post.
I have been using the StringReplacer and am trying to learn the regex commands to no avail.
I have a column with values that are mostly numeric, some alphabetical, some blank and some number with decimals. I would like to ensure that every number that does not have a decimal gets a decimal added to it.
Example of value range:
000625.224
512566254
662512566
751256.335
TLL
003640.123
CODD
My ask is how can I use the StringReplace (or any other transformer) to take the numeric values here. And insert a period in between the 6th and 7th characters. Leaving 6 before the decimal and 3 after.
To note. Every numeric value that has a decimal is 10 characters. 6 before the decimal, one decimal and 3 following. Every numeric value that does not have a decimal is 9 characters. I want to keep all Alphabetical and Null values untouched.
Thank you for your help!