MacOS – Lookup the dictionary with wildcards


Since wildcards aren't recognized by the GUI, is there another way?

enter image description here

Best Answer

From the command line you can use look which looks for the string as a prefix of a word in the file- /usr/share/dict/words.

look ent

Right click the word in the Terminal window and select Look Up "....." menu or you can grep /usr/share/dict/words using regular expressions or extended regular expressions. Such as:

grep 'hello$' /usr/share/dict/words