How to using regex to replace or matching text in Link

Hello all,

I need help about using regex maybe ? cause i want to making a condition if linkURL have contains “?page=all” it will continue to another activity… but if it only contains “?page” it must to be replace the all the text in ending to be a “?page=all”. And then if it only “” it must to be “

For Example i want to make “” to be a “
this the work flow

Hi @Ricky_Fenardo u can replace activity to replace the value with ?page=all

Regex to be used


how if i must to use string variable named “linkURL” ? because the link is not only from “” , it will be anything link… so from user input i take it to variable “linkURL”