search requiredThe PCRE regular expression to match. Write the bare pattern only - AA wraps it in delimiters for you, so do not add slashes or trailing modifiers. A literal colon inside the pattern must be escaped as #:.
replace requiredThe replacement string substituted for each match. May contain backreferences to captured groups: $1, $2 (or ${1}) insert the text matched by the first, second parenthesised group. An empty replacement removes the matched text.
text requiredThe subject text the pattern is searched in. A literal colon here must also be escaped as #:. Returned unchanged when the pattern matches nothing.
{replace:world:Earth:Hello world}
{replace:<[^>]+>::<b>Bold</b> and <i>italic</i>}
{replace:\s+: :Hello spaced out}
{replace:(\w+)@(\w+\.\w+):***@$2:user@example.com}
{replace:(?i)hello:Hi:HELLO world, hello again}
{replace:\d+#:\d+:[time]:Meeting at 10#:30 today}
{replace:\s+:-:Annual Report 2026}