Thread: Regex examples
View Single Post
Old 10-08-2014, 12:39 AM   #423
dwlamb
Member
dwlamb began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Apr 2013
Device: Android Smartphone
Looking for dialogue with paragraph breaks

Hello,

I am trying to come up with a method to search for blocks of HTML in which dialogue was started but a new paragraph was started before the closing quotation mark.

I have a string of
Code:
\>.*".*[^(")]
Basically I want to find
  • text starting after the opening <p> tag and before an opening quotation mark
  • the opening quotation mark
  • the block of text up to the end of the paragraph, provided there is no closing quotation mark before the \n

Is this feasible?

Last edited by dwlamb; 10-08-2014 at 12:41 AM. Reason: fixed errors
dwlamb is offline   Reply With Quote