Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $Matches = [regex]::Matches($FileContents,'\<\#(?:(?!\)(.|\n)(?<!\<\#)(?))+\#\>').Value
- ForEach ($Match in $Matches) {
- $Match | Select-String -Pattern "@" -SimpleMatch | fl
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement