Using regex to get subtring
With Java Regex, how can I manage to get a subtring for a String with
pattern like this:
data:image/png;base64,iVBO....{a very long string of characters and symbols}
Where I need to get image/png however, it could be image/jpg or image/xxxx
No comments:
Post a Comment