Hello guys,
I’m having some trouble to extract using regex. I have an input that accepts a 6-digit number. I’ve configured this input to be of type Text (numbers only). And in another input filed I’m trying to extract pairs of this 6-digit “text”, using regex.
When I use (\d{2}), it takes the first 2 digits (or characters).
But how can I extract the 3rd and 4th digits? How can I extract the 5th and 6th? It wud be something similar to substring(element, start_position, size).
Example:
Input: 123456
What I need to extract:
Output 1: 12
Output 2: 34
Output 3: 56
Got it?
Any help? Advice?
Cheers.