It depends on your definition of the word "work". If you consider that terror attacks against US interests were escalating in the time up to 9/11 (having been largely ignored in the 1990's), and we've had nothing close to the scale of 9/11 in our homeland since, I'd say it has "worked" as effectively as can be reasonably be expected; it certainly worked more than ignoring the issue in the 1990's. There is no question that Al-Q's power has been thoroughly attrited.
We are not going to be able to bomb this population into the Enlightenment age. They are going to continue to trail the developed world by about one thousand years. We can manage the problem by attempting to isolate them, interdict their powers to strike us and economically punish their enablers, but what is wrong with the Islamic world is not within our power to solve. We can isolate it, manage it and when necessary, obliterate it.