Hi everyone,
I have question regarding a formula or say RegEx
Can you please help me to find a regex to find two dots in these two strings:
- properties.hs_legal_basis.value
- properties.hs_legal_basis.versions.0.value
Say above two values are in a column and I want to keep only a string which has only two dots in it and rest it exclude from the column and the final output would be one string left as mentioned below.
- properties.hs_legal_basis.value
I tried some of the RegEx in RegEx tool and Formula in Formula tool but nothing works for me.
Please help me on this.
Thank you
Solved! Go to Solution.
Try this in a filter tool:
REGEX_Match([Field1],"[^\.]*\.[^\.]*\.[^\.]*")
One possible regex that can do this is:
^[^.]*\.[^.]*\.[^.]*$
This regex means: