How would I do this:

source operand ~ how to write a pattern to replace * with ~ example

I know how to write it but I am using a GUI WYSIWYG and it doesn't like it when I just put * or ~ in there. It has something to do with GNU.

Do you know?