View Single Post
Old 04-10-2012, 04:52 PM   #1
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 480
Karma: 65460
Join Date: Jun 2011
Device: Kindle
Trying to limit a search to a single line...

I'm trying to catch strings that look like this:

Code:
<p class="calibre1">Don’t be late for school,” she called. [...]
(Note the missing opening quotation mark)

the regex search that I'm using
Code:
>([^“]*)”
returns a string that includes multiple lines. How do i get it to limit the search to a single line?
ElMiko is offline   Reply With Quote