regex replace in title format

Hi is there a way to transform Capitalized tittle to lower case tittle before passing it to the URL of the website you want to querry?

my search is

with %s being Bon%20Anniversaire and i want it to be bon%20anniversaire


Apparently this works:

thx works fine anywhere to find a tutorial about writing websources dev?