Stack Overflow: Regular expression to search for GadaffiHow do you identify "Gadaffi" (and its many, many variants) in an block of text? With this regular expression. \b(Kh?|Gh?|Qu?)[aeu](d['dt]?|t|zz|dhd)h?aff?[iy]\b looks like the winner. Bonus points go to the guy who figured out that it can be matched with Soundex, which is probably a better way to deal […]
Randy Munroe, creator of brilliant geek comic xkcd, was profiled in the New York Times yesterday.