Choose the right search mode
| Mode | Use | Example |
|---|---|---|
| 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
| Find | Replace | Example |
|---|---|---|
| 第*話 | ep\1 | アニメ_第01話_1080p → アニメ_ep01_1080p |
| IMG_* | photo_\1 | IMG_1234_backup → photo_1234_backup |
| ??_photo | \1\2_image | AB_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
| Find | Replace | Purpose |
|---|---|---|
| ^IMG_ | photo_ | Only the initial prefix |
| _final$ | Empty | Only the final suffix |
| [ _]+ | _ | Collapse spaces and underscores |
第(\d+)話 | ep\1 | Reuse a captured episode number |
^(\d{4})-(\d{2})-(\d{2})$ | \3-\2-\1 | Reorder 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 ↗