Hi,
Can anyone please help me extract some date from text file using Regex…
1.this integer and date are in a new line.I need to take them both seperately"81196681 25.08.2023"
2.Need to take the integer here “Nettobetrag 2.924,77”
“Gesamtbetrag EUR 3.290,51”
3.Need to take the country name 'Germany’from “Company name Germany some strings…”
matchResult = System.Text.RegularExpressions.Regex.Match(textContent, "(\d+)\s+(\d{2}\.\d{2}\.\d{4})")
If matchResult.Success Then
integerValue = matchResult.Groups(1).Value
dateValue = matchResult.Groups(2).Value
End If