Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- RegEx - finding the innermost block
July 16, 2009, 10:51 am
rate this thread
no nested blocks of its type using regular expressions?
In other words how to catch
<blockbeginmark>.....-NO <blockbeginmark> until <blockendmark>
For instance, can
<div> ..... </div>
block can be caught with the condition it has no nested <div> blocks