A MySQL regular expression replace function - advanced version
|
url |
replacement |
1 |
www.mydomain.de/somepage.html |
www.mydomain.de/page/ |
2 |
www.mydomain.de/subfolder/page.html |
www.mydomain.de/subfolder/page/ |
3 |
www.mydomain.de/link.html?param=1 |
www.mydomain.de/page/?param=1 |
4 |
www.mydomain.de/another-link.html#hash |
www.mydomain.de/page/#hash |
5 |
www.some-domain.de/link.html |
www.some-domain.de/link.html |
6 |
www.another-domain.com/somelink.html |
www.another-domain.com/somelink.html |
7 |
<p>If you want to read more, click <a href="http://www.mydomain.de/page.html">here</a> or there <a href="http://www.another-domain.com/somelink.html">there</a> |
<p>If you want to read more, click <a href="http://www.mydomain.de/page/">here</a> or there <a href="http://www.another-domain.com/somelink.html">there</a> |
|
url |
1 |
www.mydomain.de/somepage.html |
2 |
www.mydomain.de/subfolder/page.html |
3 |
www.mydomain.de/link.html?param=1 |
4 |
www.mydomain.de/another-link.html#hash |
5 |
www.some-domain.de/link.html |
6 |
www.another-domain.com/somelink.html |
7 |
<p>If you want to read more, click <a href="http://www.mydomain.de/page.html">here</a> or there <a href="http://www.another-domain.com/somelink.html">there</a> |
|
λ
.NET NoSQL database for rapid development
|