Could someone tell me if it's possible to use a regex expression to convert a url to lowercase?
This is within a html img tag so we could find the urls by tag.
Here is an example of what i have
<img src="http://www.domain.com/dir/dir/ImageName.jpg" />
And i need to lowercase the image name at the end.
<img src="http://www.domain.com/dir/dir/imagename.jpg" />
The document contains furhter HTML so i cannot simply lowercase the entire document.
Use the following as a search term:
("http[^"]*")
and replace it with this:
\L\1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With