SMARTRENAMER HELP / Advanced settings

Literal, wildcard, and regex matching

Choose a search mode, reuse captures, target occurrences, and understand replacement versus collection filters.

For Mac version 1.0 (release preparation) · Updated: October 31, 2026

Control names are described in English; key Japanese UI labels are included to help you find them in the current app.

Choose the right search mode

ModeUseExample
Literal (通常)Find exactly what you type; * and ? are ordinary characters._final
Wildcard (ワイルドカード)* for variable-length text, ? for one character.第*話
Regular expression (正規表現)Match numbers, boundaries, and structured patterns.第(\d+)話

Regular expressions use Foundation’s ICU-style engine. Case sensitivity and which occurrence to replace are separate settings.

Use * and ? wildcards

FindReplaceExample
第*話ep\1アニメ_第01話_1080p → アニメ_ep01_1080p
IMG_*photo_\1IMG_1234_backup → photo_1234_backup
??_photo\1\2_imageAB_photo → AB_image

Each * or ? creates a capture in order. A middle * matches the shortest portion that allows the rest to match; a leading or trailing * extends to that edge of the name. Only * and ? are wildcard syntax.

Useful regular expressions

FindReplacePurpose
^IMG_photo_Only the initial prefix
_final$EmptyOnly the final suffix
[ _]+_Collapse spaces and underscores
第(\d+)話ep\1Reuse a captured episode number
^(\d{4})-(\d{2})-(\d{2})$\3-\2-\1Reorder a date

^ is the start, $ the end, \d a digit, + one or more, and (…) a capture. Invalid expressions appear as settings errors; fix them before running.

Reuse matching text in replacements

Use \1, \2, … to reuse wildcard or regex captures. $1 and $2 are also supported. Keep search syntax and replacement references separate. Literal mode does not create captures.

A replacement can also contain naming tokens. Inspect the final preview when combining tokens with captures.

All, first, last, or a particular match

Choose the occurrence (置き換える箇所). Replacing a with b in a_a_a yields b_b_b for All, b_a_a for First, or a_a_b for Last. Use the nth-match option when appropriate.

Compare a stand-alone example with the full preview: earlier and later rules may change the final result.

Collection filters behave differently

A wildcard in Scope and filters matches the whole file name, including the extension. For example, *.jpg matches a.jpg but not a.jpg.txt. Replacement and deletion wildcards can match a portion of the name.

Literal and regex collection filters look for a matching portion. Use ^ and $ when regex must cover the entire name. The center list’s search only hides rows; it does not restrict execution.

Still need help?

Tell us the settings used, the message shown, and the result you expected.

Contact options ↗