Microdeck.tools 100% 브라우저 실행

정규식(Regex) 테스터, 디버거 & 치트시트

New

실시간 매칭 하이라이트, 캡처 그룹, 치환 미리보기, 토큰별 설명이 포함된 JavaScript 정규 표현식 테스트 도구입니다.

100% 브라우저 실행 서버 업로드 없음 즉시 결과 확인
//g

Matches highlighted · 2 found

Order 2026-03-14: 3 items, total $45.50
Order 2026-04-02: 1 item, total $9.99
Contact: sales@example.com, support@example.org
#MatchPositionGroups
12026-03-146–16$1 = "2026" · $2 = "03" · $3 = "14" · year = "2026"
22026-04-0246–56$1 = "2026" · $2 = "04" · $3 = "02" · year = "2026"
Order 2026/03/14: 3 items, total $45.50
Order 2026/04/02: 1 item, total $9.99
Contact: sales@example.com, support@example.org

What the pattern means

  • (?<year> start of the capture group named year
  • \d a digit
  • {4} exactly 4 times
  • ) end of group
  • - the character -
  • ( start of a capture group
  • \d a digit
  • {2} exactly 2 times
  • ) end of group
  • - the character -
  • ( start of a capture group
  • \d a digit
  • {2} exactly 2 times
  • ) end of group
Cheat sheet
\d \w \sdigit, word character, whitespace\d{3}-\d{4}
. [abc] [^abc]any character, one of, none of[A-Z][a-z]+
* + ? {n,m}repeat counts (add ? for lazy)a{2,4}?
^ $ \bstart, end, word boundary\bcat\b
(…) (?:…) (?<n>…)capture, non-capture, named group(?<year>\d{4})
(?=…) (?!…) (?<=…) (?<!…)lookahead and lookbehind(?<=\$)\d+
\1 \k<n>repeat a captured group(\w)\1
$1 $<n> $&use in the replacement text$<year>-$1

Uses your browser’s JavaScript regular expressions. Other languages (PCRE, Python, .NET) differ in lookbehind, named groups and flags. Patterns that backtrack heavily on long text can freeze a tab; the text is limited to 200,000 characters.

이 도구가 시간을 절약하는 데 도움이 되었나요? Microdeck을 무료로 유지하고 개선하는 데 힘을 보태주세요. 자율 참여 · $3부터.

작동 원리 및 구조

Type a pattern, switch flags on and off and paste test text. Matches are highlighted and listed with their groups.

단계별 사용 방법

1

Type the pattern.

2

Paste test text.

3

Read matches, groups and the explanation.

주요 기능 및 장점

  • Live highlighting
  • Capture and named groups
  • Replace preview
  • Token explanation
  • Cheat sheet

계산 방식, 공식 및 기술 표준

The pattern runs with the JavaScript RegExp engine of your browser, with a limit of 1,000 matches and 200,000 characters.

입출력 예시 및 엣지 케이스

(?<year>\d{4})-(\d{2})

입력
Match
출력
2026-03 with year = 2026

제한 사항 및 정확도 안내

  • • JavaScript syntax only; PCRE, Python and .NET differ.
  • • Heavy backtracking on long text can slow the tab.

브라우저 로컬 처리 및 개인정보 보호

일반 웹 변환기는 문서나 미디어 파일을 원격 서버에 업로드합니다. 정규식(Regex) 테스터, 디버거 & 치트시트 도구는 현재 브라우저 탭 내부에서만 실행됩니다:

현재 탭에서 직접 처리

입력 텍스트와 파일은 외부 서버로 전송되지 않고 기기 내에서 로컬로 계산됩니다.

입력 데이터 로그 미보관

도구에 붙여넣은 파일이나 데이터를 서버에 기록하거나 저장하지 않습니다.

일시적 탭 메모리 수명주기

작업 결과는 브라우저 탭 메모리에만 유지되며 탭을 닫거나 초기화하면 즉시 해제됩니다.

자주 묻는 질문 (FAQ)

Why does my pattern work here but not in Python?

Flags, lookbehind support and named group syntax differ between engines.

Is anything uploaded?

No. Everything runs in your browser and your data stays on your device.

관련 마이크로 도구 살펴보기

Microdeck 후원하기

100% 자율 후원 · $3부터 · 회원가입 불필요

금액 선택 (USD):선택 금액:$5

최소 후원 금액은 $3 USD입니다.

100% 자율 · $3부터 · Gumroad 안전 결제 창이 열립니다.