정규식 테스터
Regex Tester
입력한 패턴·텍스트는 브라우저에서만 처리되며 서버로 전송·저장되지 않습니다.Your pattern and text are processed entirely in your browser — never uploaded or stored.
| # | 인덱스 | Index | 전체 매치 | Full match | 그룹 캡처 | Groups |
|---|
정규식 테스터란?
정규식 테스터는 정규표현식 패턴과 플래그를 테스트 문자열에 즉시 적용해 매치 구간을 하이라이트하고, 그룹 캡처까지 표로 보여주는 도구입니다. 유효성 검사 패턴 작성·디버깅, 로그·텍스트 파싱 규칙 검증에 유용합니다.
플래그 설명
- g: 전역 검색 — 첫 매치가 아닌 모든 매치를 찾습니다.
- i: 대소문자 구분 없이 매칭합니다.
- m: ^ $ 가 각 줄의 시작·끝에도 매칭됩니다.
- s: .(점)이 줄바꿈 문자도 포함해 매칭합니다.
- u: 유니코드 코드포인트 단위로 처리합니다.
- y: lastIndex 위치에서만 매칭을 시도합니다(sticky).
개인정보·처리 방식
모든 매칭은 사용자의 브라우저 안에서만 이루어집니다. 입력한 패턴과 텍스트는 서버로 전송되거나 저장되지 않습니다.
What is this tool?
The regex tester applies a regular expression pattern and flags to your test string instantly, highlighting matches and listing group captures in a table — handy for writing and debugging validation patterns or parsing rules.
Flags
- g: global — find all matches, not just the first.
- i: case-insensitive matching.
- m: ^ and $ also match the start/end of each line.
- s: . (dot) also matches newline characters.
- u: treat the pattern as Unicode code points.
- y: sticky — only match starting at lastIndex.
Privacy & processing
Everything runs in your browser. Your pattern and text are never uploaded or stored.
자주 묻는 질문
정규식(정규표현식)이란 무엇인가요?
g, i, m 같은 플래그는 무엇인가요?
그룹 캡처는 어떻게 확인하나요?
g 플래그 없이도 여러 매치를 볼 수 있나요?
입력한 패턴·텍스트가 서버로 전송되나요?
FAQ
What is a regular expression?
What do flags like g, i, m mean?
How do I check group captures?
Can I see multiple matches without the g flag?
Is my pattern and text sent to a server?
안내: 본 도구는 자바스크립트 정규식 엔진을 그대로 사용한 참고용 매칭 도구이며, 모든 처리는 브라우저 안에서만 이루어집니다.
Note: This tool uses the JavaScript regex engine directly for reference matching, and all processing happens in your browser.