title: Android java - Regex to check whether the url starts with https or http
body: <p>I am getting some <code>urls</code> from server that contains some images. Some urls start with <code>http</code> and some start with <code>https</code>. I need to check if the url string contain <code>http</code>, then put an <code>s</code> in that string after <code>p</code>, and if it contains <code>https</code> then do nothing.</p>