Working on a script that will parse some of my java files. I am trying to use replaceAll() to get rid of some of the things that I do not need. So of it is static stuff which is easy, but some are harder.
MyWebsiteTests extends MYbaseTest {
So for this one I want to remove the extends and anything after it on that line. Thanks
This would do it:
Parsing source code with regex always seems to end in tears though…