Replace string with regular expression?

Is it possible to use the “replace string” function with a regular expression?
I tried it without success. Should I put it in a special form, e.g. into () or []… , or is it not possible at all?