[I am a beginner with PowerShell]
I want to use PowerShell to extract a specific pattern from all files under a certain directory. How do I do that?
For example, let the file content be:
<node1>Hello World ignore</node1>
<wantedNode>Hello World extract
this text </wantedNode>
I want to extract only nodes of type that contain "hello world" (case insensitive):
"Hello World extract this text"