View Single Post
Old 12-11-2011, 06:30 AM   #1
BartB
Member
BartB began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Dec 2010
Location: Geelong, Australia
Device: Kobo
how do I span more than one line with regex

G'day,

I've trolled through the forum and looked elsewhere for the the magic switch that will allow me to collect the text between, say for example, <head> and </head>. I can get the regex to collect when all is on one line but, according to my searching, I need to tell Sigil to allow the dot to collect the newlines as well. How do I do that?

I am using <head>(.*?)</head> to do the finding and the collection.
BartB is offline   Reply With Quote