“Text matched by another field” is one of the patterns that you can select on the Match panel. This pattern requires a field to match the exact same text that was matched by a previous field in the regular expression.
For this example, we’ll try to match a comma-delimited list of 3 numbers. The 3 numbers must be exactly the same. They can range from -999.999 to +999.999. The decimal digits are mandatory, the sign is optional.
12.374,12.374,12.374 -17.872,-17.872,-17.872 519.878,519.878,519.878 12.374,-17.872,519.878
.
.
.
.
. The first sample has been marked now: 12.374,12.374,12.374 -17.872,-17.872,-17.872 519.878,519.878,519.878 12.374,-17.872,519.878
. RegexMagic has correctly detected the “number” pattern for this field. But the settings for the pattern aren’t the ones we want. One sample is not enough for RegexMagic to extrapolate from.

. RegexMagic detected the “number” pattern for this field too, which isn’t what we want.
.
^ # 1. field1: Number (?<field1>[+-]?(?:[1-9][0-9]{1,2}|[0-9])\.[0-9]{3}) # 2. Literal text , # 3. Same text as field 1 \k<field1> # 4. Literal text , # 5. Same text as field 1 \k<field1> $
Required options: Case sensitive; Free-spacing; ^$ match at line breaks.
Unused options: Dot doesn’t match line breaks; Numbered capture.
12.374,12.374,12.374 -17.872,-17.872,-17.872 519.878,519.878,519.878 12.374,-17.872,519.878