Actually, I am using the Responsive Grid in a component and this responsive grid creates a div dynamically in the original HTML. The divs are given below.
<div class="aem-Grid aem-Grid--12 aem-Grid--default--12">
<div class="smb-longplancards aem-GridColumn aem-GridColumn--default--12">
Now I need to remove the above divs from the HTML. How do I achieve this?