Extract specific string from URL : <p>I want to extract some string from this url </p>

<p><a href="https://s3-ap-southeast-1.amazonaws.com/mtpdm/2019-06-14/12-14/1001_1203_20190614120605_5dd404.jpg" rel="nofollow noreferrer">https://s3-ap-southeast-1.amazonaws.com/mtpdm/2019-06-14/12-14/1001_1203_20190614120605_5dd404.jpg</a></p>

<p>I want to extract the 2019-06-14, how do I do that using java?</p>
