I need to match if the second group matches only once in all text. For example, the 1st, 4th, 6th strings should not be matched: Regex101
AS "(.+)\.(.+)"
table1.field1 AS "table1.field1",
table2.field2 AS "table2.field2",
table3.field3 AS "table3.field3",
table4.field1 AS "table4.field1",
table4.field1 AS "table5.field5",
table6.field6 AS "table6.field1",