홈
Tom Utilities

정규식 치트 시트

개발자 유틸리티

문자 클래스, 수량자, 앵커, 그룹, 룩어라운드, 이스케이프를 담은 정규식 문법 요약입니다.

사용 방법

Using the cheat sheet

Search for a token or a description to filter the table, then use the pattern directly in JavaScript, Python or any engine that follows the common syntax.

  1. Search for a pattern or keyword.
  2. Read the description.
  3. Copy the token into your expression.

자주 묻는 질문

Which regex flavour is this?

The common Perl-compatible subset supported by JavaScript, Python, Java and most other engines.

Does the dot match newlines?

By default it does not. Enable the s (dotAll) flag in JavaScript or re.DOTALL in Python if you need it to.