8
0

Anlage des Repos

This commit is contained in:
2024-01-24 16:42:38 +01:00
commit 38d6a271c4
1785 changed files with 3051496 additions and 0 deletions

15
test/Regex-test1.ps1 Normal file
View File

@@ -0,0 +1,15 @@
cls
# PowerShell RegEx with Groups as result
# Help from https://mcpmag.com/articles/2015/09/30/regex-groups-with-powershell.aspx
$txt1 = $NULL
$res1 = $NULL
$txt1 = "#SCAN#DD-Eingangsrechnung"
#$res1 = ($txt1 | Select-String -pattern "(?:#SCAN#(DD-[a-zA-Z-üÜöÖäÄ]{1,}))" -AllMatches | %{$_.matches} | %{$_.value})
$res1 = ([regex]::Match("$txt1", "(?:#SCAN#(DD-[a-zA-Z-üÜöÖäÄ]{1,}))").Groups[1].Value)
echo $res1