How Can I Filter a Long TXT File

Hi @Burak_Baris_Gologlu

My bad . This is the regex to use


System.Text.RegularExpressions.Regex.Matches("YourString","T\.C\. SAKARYA.*T\.C\.")

And your matchcol variable should be of type Matchcollection

Adding .ToString will not work . Change the variable type as shown above

cheers

1 Like