Thread
:
Multiline Regex Footer
View Single Post
02-03-2010, 04:23 AM
#
11
chaley
Grand Sorcerer
Posts: 12,525
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
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