Module/Rule.FileContent/Convert/Data.ps1

1
2
3
4
5
6
7
8
9
10
11
12
data fileContentRegex
{
    ConvertFrom-StringData -StringData @'
        BetweenAllQuotes = ("|{0}|{1}|{2})[\\s\\S]*?("|{0}|{1}|{2})
        RegexToRemove = "|{0}|{1}|{2}
        TwoTo5CapitalLetters = [A-Z]{2,5}
        CapitalsEndWithSpaceOrDot5 = [A-Z,1-9]{2,5}(\\s|\\.)
        CapitalsEndWithSpaceOrDot4 = [A-Z,1-9]{2,4}(\\s|\\.)
        RemoveAnyNonWordCharacter = \\W
'@

}