Hello there, )
I’m using a Regex that captures strings in a .txt based on a specific pattern:
System.Text.RegularExpressions.Regex.Match(myString, “[AZ]{3}[0-9]{3}”).Value
The only problem with this Regex is that it does not capture data that are equal. For example, if the string XXX555 appears in the .txt, the Regex should capture that string, however, if the string XXX555 appears again, it should pick it up again.
This is not happening. It basically goes through the entire .txt, takes all occurrences that are the same and counts as if there were only one occurrence of the string XXX555.
I want to capture all occurrences of strings that match the pattern established in the Regex, no matter if they similar strings or not.
Somebody help me please