June 28th, 2013, 11:49 AM
Problem with equal sign in DW regex
The regex below works on the gsskinner site but in Dreamweaver it does not. If I remove the 'id' attribute information including the equal sign, it works but obviously I get a bunch of divs I do not want. Any help would be appreciated.
<div id\b[^>]*>(.*?)</div> THIS WORKS, BUT NOT WHAT I NEED.
June 28th, 2013, 12:03 PM
Equals signs don't mean anything special in regular expressions.
What's the original string you're trying to match against?
June 28th, 2013, 12:13 PM
<div id="page_content_top_stage"> <br>
Originally Posted by requinix
<!-- InstanceBeginEditable name="content up" -->
<div align="left" class="body_one">
<p class="body_one"> This could be anything. Would nested tags create a problem? (or parens)</p>
<p class="body_one">This could be any text</p>
<!-- InstanceEndEditable --> </div>