http://www.maru-jan.com
https://www.maru-jan.com

don't replace for http
href="http://www2.maru-jan.com/a.html"
href="http://www.maru-jan.com/a.html"
href="//www.maru-jan.com/a.html"

don't replace for https
href="http://www2.maru-jan.com/a.html"
href="http://www.maru-jan.com/a.html"

replace for https
href="http://www.maru-jan.com/a.css"
href="http://www.maru-jan.com/a.js"
url('http://www.maru-jan.com')
src="http://www.maru-jan.com"
href="//www.maru-jan.com/a.css"
href="//www.maru-jan.com/a.js"
href="//www.maru-jan.com/a.html"
url('//www.maru-jan.com')
src="//www.maru-jan.com"

replace always
href="https://ssl-www.maru-jan.com/a.css"
href="https://ssl-www.maru-jan.com/a.js"
href="https://ssl-www.maru-jan.com/a.html"
href='https://ssl-www.maru-jan.com
url('https://ssl-www.maru-jan.com')
src="https://ssl-www.maru-jan.com"