Guest User

Untitled

a guest
Dec 6th, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. List := StrSplit(FileOpen("day6_input.txt","R").Read(),"`r`n`r`n")
  2. for _, group in List
  3.   Loop 26
  4.     count += !RegExMatch(group,"s)(" chr(96 + A_Index) ".*){" StrSplit(group,"`n").Length() "}")!
  5. Msgbox % count
Add Comment
Please, Sign In to add comment