ruby scrabble.rb REGEX
where REGEX
can be something like
^s.*z$
- will match all words starting withs
and ending withz
.*lol$
- will match all word ending withlol
t...p
- will match all words containingt
, then any 3 letters andp
and so on.
Happy cheating!
hi