View Single Post
Old 03-25-2011, 01:51 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,106
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by bfollowell View Post
Thank you very much.

Well, this is certainly getting me closer to what I wanted than what I was trying. Now here's the problem. I only want to select the first chaptersubtitle class paragraph through the very next (first) normal paragraph tag. The expression you gave me selects pretty much ALL text, every single paragraph, character, whatever, through the last <p class="para"> tag.

There may not be a way to have a regular expression do what I'm wanting from the behavior I'm seeing.

Either way, I really appreciate your help. If you have any other ideas, let me know. Are you aware of any decent online resources for learning more about regular expressions?

Thanks again.

- Byron
Tick the "minimal matching" (Sigils REGEX, non-Greedy) , that should stop it at the first match (but not always )
theducks is offline   Reply With Quote