使用方法
- Paste the source text into the input area。
- Add one or more replacement rules by clicking the "+ Rule" button — each rule has a pattern field and a replacement field。
- Toggle the regex switch per rule to use a regular expression instead of a literal string, and optionally enable case-insensitive matching。
- Reorder rules with the up/down arrows: rules run in order so each rule's output feeds the next。
- Copy the processed result from the output area — all processing is local in your browser。
範例
- Adding a rule with pattern "foo" and replacement "bar" changes every occurrence of "foo" to "bar" throughout the text。
- Using the regex pattern \d{4}-\d{2}-\d{2} with replacement REDACTED replaces every ISO date in the text in one pass。