From: Chirantan Date: 2008-02-28T15:40:11+09:00 Subject: Need a regex searching html code I have an html code into string. I want to retrieve the content (Can be any HTML code with any number of tags) present inside the div after the heading till the end of the div. Example,
Tagline:
Yippee Ki Yay Mo - John 6:27
Plot Outline:
John McClane takes on an Internet-based terrorist organization who is systematically shutting down the United States. more
In the above example, Plot Outline is header that I am looking for then, regex should give me - John McClane takes on an Internet-based terrorist organization who is systematically shutting down the United States. more And if "Tagline:" is what I am looking for then regex should give me - Yippee Ki Yay Mo - John 6:27 I hope the problem statement is clear.