I want to extract a substring from "<" to "xmlns" in
<?xml version="1.0" encoding="ISO-8859-1"?>
<XXXXX xmlns
then result is "XXXXX", only need 1 time. How can I do this?
I want to extract a substring from "<" to "xmlns" in
<?xml version="1.0" encoding="ISO-8859-1"?>
<XXXXX xmlns
then result is "XXXXX", only need 1 time. How can I do this?
<[^>]+xmlns
Does the above regex help you? Check this answer as well https://stackoverflow.com/a/406408/5119047