The Pro version of ReReplacer comes with several preset codes and dynamic tags that you can use in different situations. Here is a complete overview of all of them.

Input SyntaxOutput ExampleDescriptionSearchReplace
[[comma]] , Use instead of a comma when 'Treat as List' is selected. Use normal commas to create lists. Yes Yes
[[space]]   Use instead of leading and trailing spaces (otherwise they will get stripped upon saving). Yes Yes
[[user:id]] 465 The ID number of the current logged-in user. * No Yes
[[user:username]] peter The login name of the current logged-in user. * No Yes
[[user:name]] Peter van Westen The name of the current logged-in user. * No Yes
[[user:misc]]

I'll sell you good copper, which is cheaper... well, here it is.

Any other available data field from the current logged-in user or the connected contact. * No Yes
[[article:id]] 123 The ID number of the current article. ** No Yes
[[article:title]] My Article The title of the current article. ** No Yes
[[article:alias]] my-article Any other available data field from the current article. ** No Yes
[[date:%A, %d %B %Y]]
[[date:%Y-%m-%d]]
Thursday, 07 November 2024
2024-11-07
Date using php strftime() format. No Yes
[[random:0-100]]
[[random:1000-9999]]
41
2815
This places a random number within the given range. No Yes
[[random:this,that]]
[[random:1-10,20,50,100]]
that
6
A random value from a list of strings, numbers or ranges. No Yes
[[counter]] 1 This places the number of the occurrence. If your search is found, say, 4 times, the count will show respectively 1 to 4. No Yes
[[escape]]\1[[/escape]] "It\'s a string!" Use to escape dynamic values (add slashes to quotes). No Yes (regex)
[[uppercase]]\1[[/uppercase]] "IT'S A STRING!" Convert text within tags to uppercase. No Yes (regex)
[[lowercase]]\1[[/lowercase]] "it's a string!" Convert text within tags to lowercase. No Yes (regex)
[[notags]]\1[[/notags]] "It's a string!" Remove html tags from the text within tags. No Yes (regex)
[[nowhitespace]]\1[[/nowhitespace]] "It'sastring!" Remove html tags and whitespace from the text within tags. No Yes (regex)
[[toalias]]\1[[/toalias]] its-a-string Convert text within tags to an alias (lowercase dash separated string). No Yes (regex)

* The user data tags place data from the logged-in user. If the visitor is not logged in, the tag will be removed.
** The article data tags are only available when the Search Area is set to "Content (Articles & Categories)".