I have thousands of files I downloaded text files of and they all follow the same pattern. The pattern seemed to work in a parser (and notepad++) but when I try to find it on the console and then ultimately want to pipe it to wget for downloading, I get grep: Invalid range end
grep -E "\(https://foo.domain.com/([A-z])\w+.pdf\)" * > wget
I am unfamiliar with proper wildcarding, as I tried .* or similiar, escaping the forward slashes to all no avail. I am sure it is something stupid.
Essentially everything is correct except there is a random string of text between the .com/zzz.pdf