Created
August 21, 2017 15:01
-
-
Save Bidthedog/dc04ac5c1aa979c9bd309df83a5e8bec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$words = (((Invoke-WebRequest -Uri "https://www.morewords.com/contains/ei/").ParsedHtml).All.Tags("p")[3] | % InnerText) -split '\n' | |
Write-Host "Total Words: $($words.Count) | |
Matching 'cei': $(($words | ? { $_ -match "cei" }).Count) | |
Matching 'ei': $(($words | ? { $_ -match "[^c]ei" }).Count)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment