Thread:Project:Support desk/Clean Content

I currently require to display the content for a section as simple text with only Links. Without Categories, Images , References , Tables etc..

Currently calling http://en.wikipedia.org/w/api.php?action=query&prop=revisions&format=json&rvprop=content&rvsection=0&titles=XYZ

I can manually parse and remove the contents between (Categories) and  (Images)  and (References)  and keep   ..  ( Links ).

I would like to know if I can directly get cleaned content via the API ? Also are there any other cases apart from the above that I may have to consider to remove ?

Thanks.