찾기 / 바꾸기

문자열이나 정규식으로 검색해 일치하는 부분을 지정한 텍스트로 바꿉니다.

입력: 텍스트결과: 텍스트

텍스트 입력

도구 옵션

예제

Normalize repeated spaces in a copied HTTP request

입력

GET    /health  HTTP/1.1
Host:   example.org

Expected answer

GET /health HTTP/1.1
Host: example.org
찾기
{"option":"Regex","string":"[ \\t]+"}
교체
전체 일치
On
대소문자 구분 안함
Off
다중 행 매칭
On
모든 문자에 점 일치
Off
Redact a demo bearer token while retaining the header name

입력

Authorization: Bearer DEMO_TOKEN_NOT_VALID
Accept: application/json

Expected answer

Authorization: Bearer [REDACTED]
Accept: application/json
찾기
{"option":"Regex","string":"(Authorization: Bearer )\\S+"}
교체
$1[REDACTED]
전체 일치
On
대소문자 구분 안함
Off
다중 행 매칭
On
모든 문자에 점 일치
Off
Move endpoint URLs to a new hostname literally

Simple string treats the dots as dots, rather than regular-expression wildcards.

입력

https://old.example.org/v1/status
https://old.example.org/v1/jobs

Expected answer

https://api.example.org/v1/status
https://api.example.org/v1/jobs
찾기
{"option":"Simple string","string":"old.example.org"}
교체
api.example.org
전체 일치
On
대소문자 구분 안함
Off
다중 행 매칭
On
모든 문자에 점 일치
Off
Complete only the first item in a task list

입력

TODO: write test
TODO: deploy

Expected answer

DONE: write test
TODO: deploy
찾기
{"option":"Simple string","string":"TODO"}
교체
DONE
전체 일치
Off
대소문자 구분 안함
Off
다중 행 매칭
On
모든 문자에 점 일치
Off
Disable debug flags with case-insensitive line matching

입력

DEBUG=true
port=8080
debug=true

Expected answer

debug=false
port=8080
debug=false
찾기
{"option":"Regex","string":"^debug=(?:true|false)$"}
교체
debug=false
전체 일치
On
대소문자 구분 안함
On
다중 행 매칭
On
모든 문자에 점 일치
Off

매개변수

매개변수기본값입력 및 선택 항목
찾기{"option":"Regex","string":""}키 또는 텍스트 인코딩: 정규식, Extended (\n, \t, \x...), Simple string
교체""\n, \r, \t 등의 이스케이프 시퀀스 지원
전체 일치true켜짐 또는 꺼짐
대소문자 구분 안함false켜짐 또는 꺼짐
다중 행 매칭true켜짐 또는 꺼짐
모든 문자에 점 일치false켜짐 또는 꺼짐

관련 도구

유틸리티

작업 참고 자료

원본 기술 문서 보기 (English)