Possible duplicate: http://stackoverflow.com/questions/299942/regex-matching-html-tags-and-extracting-text
I need to get the text between the html tag like <p></p>
or whatever. My pattern is this
Pattern pText = Pattern.compile(">([^>|^<]*?)<");
Anyone knows some better pattern, because this one its not very usefull. I need it to get for index the content from web page.
Thanks