[Solved] Find and save all words between 2 specific phrase in a large text file [closed]
Can be as follows, using regular expressions in PowerShell. [regex]::Matches((Get-Content source.txt), “<h4>(.+?)</h4>”) | foreach{$_.Groups[1].Value} | OUt-File -FilePath “result.txt” 1 solved Find and save all words between 2 specific phrase in a large text file [closed]