Hi Guys

I am really green when it comes to regex , I have never had to use it much but here goes, I want to be able to remove html tags from a string so I am only left with the content.

i am using


This doesnt seem to be working any ideas on how I can make this work.

Look forward to hearing from you


you have:


Not sure why you are using String here in the static sense.

If i had

String mystring = readFile();

// now string is populated.
// proper use of replaceall below

see you want to call mystring.replaceAll , so it knows which string its operating on, and it returns a string so you want mystring=mystring.relaceAll(args...);