I'm working on java code that reads in a html file and checks for the <body> tag and then inserts text after it. The body tag may vary from looking like this <body> to
How do I check for the second version of the body tag? I currently have this as my regex string:
<body[a-zA-Z0-9]*> but that does not work as it never finds a match. Any ideas what the regex needs to look like?