I am currently working on a project where I need to convert 4-digit numbers into a versioning system format. Specifically, I want to insert a dot (.) after each digit in the number. For instance:
Input String: 6536 Desired Output: 18.104.22.168
To achieve this, I tried using the “Value Mapping” feature with Regex, but unfortunately, I haven’t been successful. Here’s the regex pattern and display text that I’ve been using:
Regex Pattern: \d\d\d\d Display Text: $1.$2.$3.$4
However, this doesn’t seem to be working as expected, and I’m not sure what I might be doing wrong.
Could someone please help me figure out the correct way to achieve this? Your assistance would be greatly appreciated.