Using regex's "word character" character class.