Regex Tester

Test and debug regular expressions instantly in your browser. Live match highlighting, flag toggles, capture group viewer, and a quick-access cheat sheet — no signup required.

정규식 테스터

브라우저에서 바로 정규 표현식을 테스트하고 디버깅하세요. 실시간 매치 하이라이팅, 플래그 토글, 캡처 그룹 뷰어, 빠른 치트시트까지 — 회원가입 불필요.

Regular Expression
/ /gi
Flags
Test String
Matches 0 matches

More dev tools on stackfreeks.com — VPS guides, server setup tutorials, and developer resources.

stackfreeks.com에서 더 많은 개발 도구와 VPS 가이드, 서버 설정 튜토리얼을 확인하세요.

How to use
STEP 1

Enter your pattern

Type your regex pattern in the pattern field — no slashes needed. The tool adds them for display.

패턴 입력

패턴 필드에 정규식을 입력하세요 — 슬래시 불필요. 도구가 자동으로 표시해줍니다.

STEP 2

Toggle flags

Use the flag pills to activate g (global), i (case-insensitive), m (multiline), or s (dotall).

플래그 선택

플래그 버튼으로 g(전체), i(대소문자 무시), m(여러 줄), s(점 전체 일치)를 활성화하세요.

STEP 3

Paste your test string

Type or paste any text into the test string area — matches highlight instantly as you type.

테스트 문자열 붙여넣기

테스트 영역에 텍스트를 입력하거나 붙여넣으세요 — 입력과 동시에 매치가 하이라이트됩니다.

STEP 4

Use the cheat sheet

Open the cheat sheet to load common patterns — email, URL, IP address, date, hex color — in one click.

치트시트 활용

치트시트를 열어 이메일, URL, IP 주소, 날짜, 색상 코드 등 자주 쓰는 패턴을 한 번에 불러오세요.

FAQ
What regex flavor does this use?
JavaScript's built-in RegExp — fully compatible with JavaScript, Node.js, and most modern engines (V8, SpiderMonkey). If you're writing regex for another language, minor syntax differences may apply.
어떤 정규식 엔진을 사용하나요?
자바스크립트 내장 RegExp를 사용합니다. JavaScript, Node.js 및 대부분의 현대 엔진(V8, SpiderMonkey)과 완전 호환됩니다. 다른 언어용 정규식 작성 시 소소한 문법 차이가 있을 수 있습니다.
What does the g flag do?
Global — makes the engine find all matches in the test string instead of stopping at the first one. Without g, only the first match is returned and highlighted.
g 플래그는 무엇인가요?
글로벌(Global) — 첫 번째 매치에서 멈추지 않고 테스트 문자열에서 모든 매치를 찾습니다. g가 없으면 첫 번째 매치만 반환되고 하이라이트됩니다.
What does the s flag do?
Dotall — makes . match newline characters (\n) too. Without s, a dot only matches characters on the same line. Introduced in ES2018, supported in all modern browsers.
s 플래그는 무엇인가요?
닷올(Dotall) — .이 줄바꿈 문자(\n)까지 일치하게 합니다. s가 없으면 점(.)은 같은 줄의 문자만 일치합니다. ES2018에서 도입되었으며 모든 현대 브라우저에서 지원됩니다.
Can I use capture groups?
Yes — use parentheses like (\w+) to define capture groups. Each match card in the results panel shows the matched text plus any captured groups in order.
캡처 그룹을 사용할 수 있나요?
네 — (\w+)처럼 괄호를 사용해 캡처 그룹을 정의하세요. 결과 패널의 각 매치 카드에서 매치된 텍스트와 함께 캡처 그룹이 순서대로 표시됩니다.
Sponsor
Get started on Vultr Get $300 free credit — valid for 30 days
Claim your credit →