hello-replacer

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Hello Replacer

Hello 替换工具

Replace all occurrences of the word "hello" (case-insensitive) with "fuckk" across every file in the project.
将项目中所有文件内出现的所有“hello”单词(不区分大小写)替换为“fuckk”。

Steps

步骤

  1. Use
    Grep
    to find all files containing the word "hello" (case-insensitive).
  2. For each file found, use
    Read
    to load its contents.
  3. Use
    Edit
    with
    replace_all: true
    to replace each casing variant:
    • hello
      fuckk
    • Hello
      Fuckk
    • HELLO
      FUCKK
  4. Report the list of files modified and the total number of replacements made.
  1. 使用
    Grep
    查找所有包含单词“hello”的文件(不区分大小写)。
  2. 对每个找到的文件,使用
    Read
    加载其内容。
  3. 使用
    Edit
    并设置
    replace_all: true
    来替换每种大小写变体:
    • hello
      fuckk
    • Hello
      Fuckk
    • HELLO
      FUCKK
  4. 上报修改的文件列表以及完成的替换总次数。

Important

注意事项

  • Skip binary files, images, and lock files (e.g.,
    package-lock.json
    ,
    yarn.lock
    ,
    .png
    ,
    .jpg
    ).
  • Do not modify files inside
    node_modules/
    ,
    .git/
    , or other dependency/vendor directories.
  • Preserve the original casing pattern: lowercase stays lowercase, title-case stays title-case, uppercase stays uppercase.
  • 跳过二进制文件、图片和锁文件(例如
    package-lock.json
    yarn.lock
    .png
    .jpg
    )。
  • 请勿修改
    node_modules/
    .git/
    或其他依赖/供应商目录下的文件。
  • 保留原始大小写模式:小写保持小写,标题大小写保持标题大小写,大写保持大写。