Hello @Joej ,
I am not using url as you do, but I noticed something interesting a little while ago, that I describe here.
In your case, I would just create a custom shortcode that takes %value%
as argument, and simply return the strtolower()
result.
I hope it makes sense.