replace using regex

View thread

Sajeshvv23

Hi,

i have below replace function for replacing "|0" to "Zero".

Exec $Message = replace($Message, "|0 ", "Zero");

now, i want to replace "|0" to "|15" with Zero.

do i need to add 15 more Exec replace function, or is there is any way to replace using single exec using regex?