Thread
:
Multiline Regex Footer
View Single Post
02-03-2010, 04:23 AM
#
11
chaley
Wizard
Posts: 3,853
Karma: 285886
Join Date: Jan 2010
Location: France
Device: Sony PRS-300, HTC WM6.5, Samsung Galaxy Nexus, HTC Sensation
Given the input
Code:
4 <br> <br> <hr> <A name=5></a> <br> PROLOG <br> <br>
Try "(?m)^\d+ <br>\s+ <br>$". This should match the first two lines. Add grouping parentheses if you need them.
chaley
View Public Profile
Visit chaley's homepage!
Find More Posts by chaley
Track Posts by chaley via RSS