Skip to content

Rename Operations

Edward Rowe edited this page May 1, 2018 · 16 revisions

Replace Operations

Replace String (Standard Mode)

ReplaceStringOp

Searches the names for a specified string and replaces it with another specified string (or removes it if no replacement string is specified)

Example: Replace “Hero” with “Maria”

Original Name: Char_Hero_Idle
Search String: Hero
Replacement String: Maria
Result: Char_Maria_Idle

Replace String (Regex Mode)

Searches for a specified regular expression pattern and replaces it with another regular expression pattern

Note: Regular Expressions are an advanced feature that provide a ton of power if you know how to use them. You can implement just about every rename operation that Mulligan Renamer provides as a regular expression. For more information on Regular Expressions, check out RegExr.

Example: Replace all character names with only their first character

Original Names: Char_Hero_Idle, Char_Goblin_Idle
Search Regex: ([a-zA-Z])[a-zA-Z]*
Replacement Regex: $1
Result: Char_H_Idle, Char_G_Idle

Rename

RenameOp

Deletes the name entirely and replaces it with a new one

Example: Change all names to "Wall"

Original Name: GameObject (124)
New Name: Wall
Result: Wall

Add Operations

Add Prefix or Suffix

AddPrefixOp

Adds a prefix and / or suffix to each name

Example: Add “Char_” prefix

Original Name: Hero_Idle
Prefix: Char_
Result: Char_Hero_Idle

Enumerate

Enumerate

Adds incrementing numbers to the end of each name

Example: Add _00 to the end of a series of Game Objects with the same name (Blocker).

Original Names: Blocker, Blocker, Blocker
Enumerate Style: _00, _01, etc
Result: Blocker_00, Blocker_01, Blocker_02

Delete Operations

Trim Characters

TrimOp

Removes characters from the front and / or back of each name

Example: Trim off the last 3 characters of Blocker (1)

Original Name: Blocker (1)
Delete from Back: 3
Result: Blocker

Remove Characters

RemoveCharactersOp

Removes specific characters, such as numbers or symbols, from each name

Example: Remove parentheses from Blocker (1)

Original Name: Blocker (1)
Preset: Symbols
Result: Blocker 1

Modification Operations

Change Case

ChangeCaseOp

Changes the case of all characters in each name

Example: Lowercase the characters in Char_Hero_Idle

Original Name: Char_Hero_Idle
To Upper: Unchecked
Result: char_hero_idle

Clone this wiki locally