Tear subString from within HTML tags with JAVA -


Say I have such a string " never what's above Is code> "and I want to take out what's using regexp with java. Someone told me that using mater would be best to let anyone know how to use this matcher Can you show up for?
Other solutions are also welcome! Thanks!

If your string is the same all the time, then you can actually use Java, but if If your strings become more complex and you want to remove content from nested structures, then you should actually use an HTML parser.

To select this question as the right parser:.

If you live with pattern, then your regex will look like this:

  Pattern Pattern = Pattern.compile (" 

Comments