Java String Get Substring By Regexp Mysql W3schools