Copy link to clipboard
Copied
Hi,
I have over 500 div tags with various page ids.
Example:
<div id="page_5">
<div id="id5_1">
<div id="id5_2">
<div id="page_6">
<div id="id6_1">
What expression in the search and replace can I use to remove ALL div tags?
Thanks
You don't need regular expressions to remove <div> tags.
NOTE: Back up your site folder before you perform a site wide Find & Replace because you cannot Undo this.
Use Ctrl + Shift + F.
Click on Advanced tab. See screenshot.
This will remove ALL divsion tags from your markup. To refine your search, Click the + sign and add an ID attribute.
Post back if you have any questions.
Copy link to clipboard
Copied
You don't need regular expressions to remove <div> tags.
NOTE: Back up your site folder before you perform a site wide Find & Replace because you cannot Undo this.
Use Ctrl + Shift + F.
Click on Advanced tab. See screenshot.
This will remove ALL divsion tags from your markup. To refine your search, Click the + sign and add an ID attribute.
Post back if you have any questions.
Copy link to clipboard
Copied
Hi Nancy,
You're simply amazing! That worked! Thanks so much.
Copy link to clipboard
Copied
You're welcome. Glad it worked for you 🙂