모든 도구카테고리소개문의개인정보 보호
개발자 도구

Regex Tester

Type a pattern, choose flags and paste the text to test. Matches are highlighted in place and listed with their capture groups and offsets. Patterns run in your browser with JavaScript's own engine, so the result matches what your code will do.

업데이트 · 무료 · 가입 불필요 · 기기에서 실행

도구를 불러오는 중…

사용 방법

  1. Type a pattern and choose flags.
  2. Paste the text to test.
  3. Read the highlighted matches and the capture-group table.

추천 사용자

Developers writing validation rules, analysts extracting data from logs, and anyone learning regular expressions.

사용 예시

(\w+)@(\w+\.\w+) matches an email address and captures the local part and the domain separately.

제한 사항

Uses JavaScript's regular-expression engine, which differs from PCRE and Python in some constructs. Matching stops after 2,000 results to keep the page responsive.

개인정보 보호

What you type or paste is processed in memory in this tab. It is not sent to a server, and nothing is saved after you close the page unless the tool says otherwise.

자주 묻는 질문

Why is the g flag always on?

The tester needs a global search to highlight every match. Your pattern still works the same way.

빠른 정보

분류
개발자 도구
지원 기기
휴대전화, 태블릿 및 데스크톱
계정
필요 없음
가격
무료
데이터
기기에 저장됩니다
업데이트