JSFiddle - React, Tailwind, and code Playground by Wagner Souza November 10, 2015 JavaScript case /\/post\?.*&mode=quote/g.test(link): $(this).html('Quote'); break;