Grep through text with jQuery and do fun stuff with the result.