Remove tags between two tags with a id pattern of a specified format
I want to remove all the <tr> tags between two <tr> tags with their id
starting with this format id="IT_BGJ_I_...." For example
<tr id="IT_BGJ_I_6262626_IW_7373737_IWL_4></tr>
<tr id="AB_C"></tr>
<tr id="AB_D"></tr>
<tr id="AB_R"></tr>
<tr id="IT_BGJ_I_434343_IW_4343434_IWL_4></tr>
<tr id="IT_BGJ_I_45456_IW_7373737_IWL_4></tr>
<tr id="AB_F"></tr>
<tr id="AB_G"></tr>
<tr id="AB_RE"></tr>
<tr id="IT_BGJ_I_443433_IW_4343434_IWL_4></tr>
I need to remove
<tr id="AB_C"></tr>
<tr id="AB_D"></tr>
<tr id="AB_R"></tr>
<tr id="AB_F"></tr>
<tr id="AB_G"></tr>
<tr id="AB_RE"></tr>
from them. The top and bottom ids will be starting with the format
"IT_BGJ_I_....." using jQuery or javascript
No comments:
Post a Comment