Practical email address
validation · javascript
Matches a pragmatic email shape for UI validation without pretending to implement the full RFC grammar.
/^[^\s@]+@[^\s@]+\.[^\s@]+$/i실시간 매치, 단위 테스트, 선별된 라이브러리, 호환성 분석 및 안전한 로컬 실행으로 정규식을 작성하고 테스트하고 디버깅하고 재사용합니다.
INFO server ready WARN retrying request ERROR upstream timeout DEBUG hidden diagnostics
설명, 예제, 바로 실행할 수 있는 테스트가 포함된 선별된 레시피를 검색하고 전체 레시피를 작업공간에 불러옵니다.
validation · javascript
Matches a pragmatic email shape for UI validation without pretending to implement the full RFC grammar.
/^[^\s@]+@[^\s@]+\.[^\s@]+$/ivalidation · javascript
Matches canonical UUID version 4 strings with the correct version and variant nibble.
/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/idates · javascript
Matches YYYY-MM-DD text shape. Calendar validity such as leap years still belongs to date parsing.
/\b\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])\b/gvalidation · javascript
Matches three, four, six or eight digit CSS hexadecimal color values.
/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/iextraction · javascript
Extracts major, minor and patch numbers with optional prerelease and build metadata.
/\b(?<major>0|[1-9]\d*)\.(?<minor>0|[1-9]\d*)\.(?<patch>0|[1-9]\d*)(?:-(?<pre>[0-9A-Za-z.-]+))?(?:\+(?<build>[0-9A-Za-z.-]+))?\b/gweb · javascript
Finds HTTP and HTTPS URLs in prose. Use URL parsing for authoritative validation.
/https?:\/\/[^\s<>"]+/gilogs · javascript
Extracts simple key=value pairs and exposes key and value as named captures.
/(?<key>[A-Za-z_][\w.-]*)=(?<value>"[^"]*"|[^\s]+)/glogs · javascript
Finds common application log levels as standalone words.
/\b(?:TRACE|DEBUG|INFO|WARN|ERROR|FATAL)\b/givalidation · javascript
Matches lowercase URL slugs made of alphanumeric segments separated by single hyphens.
/^[a-z0-9]+(?:-[a-z0-9]+)*$/validation · javascript
Matches IPv4 octets from 0 to 255 without accepting over-range values.
/^(?:(?:25[0-5]|2[0-4]\d|1?\d?\d)\.){3}(?:25[0-5]|2[0-4]\d|1?\d?\d)$/extraction · javascript
Finds strings shaped like a compact three-part JWT/JWS. It does not validate signatures or claims.
/\b[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]*\b/gtext · javascript
Extracts double-quoted strings while allowing escaped characters inside them.
/"(?:\\.|[^"\\])*"/g자주 쓰는 앵커, 문자 클래스, 그룹, lookaround, 수량자 및 연산자를 검색합니다.
80개 표시 · 전체 80개 token
\nNewline character
\rCarriage return character
\tTab character
\0Null character
\fForm feed character
\vVertical tab character
.Any character except line terminators unless dotAll is enabled
a|bAlternation — match either expression
\dAny digit character
\DAny non-digit character
\wAny word character
\WAny non-word character
\sAny whitespace character
\SAny non-whitespace character
[abc]One character from the set
[^abc]One character not present in the set
[a-z]One character inside a range
[a-zA-Z]One character from multiple ranges
[[:alnum:]]POSIX letters and digits class
[[:alpha:]]POSIX letters class
[[:digit:]]POSIX decimal digits class
[[:space:]]POSIX whitespace class
[[:word:]]POSIX word-character class
^Start of input, or start of line in multiline mode
$End of input, or end of line in multiline mode
\AAbsolute start of string
\ZEnd of string, or before its final line terminator
\zAbsolute end of string
\bWord boundary
\BNon-word boundary
\GStart of the current match attempt
a?Zero or one occurrence
a*Zero or more occurrences
a+One or more occurrences
a{3}Exactly three occurrences
a{3,}Three or more occurrences
a{3,6}Between three and six occurrences
a*?Lazy quantifier — consume as little as possible
a*+Possessive quantifier — do not backtrack
(...) Capturing group
(?:...)Non-capturing group
(?<name>...)Named capturing group
(?P<name>...)Python-style named capturing group
(?>...)Atomic non-capturing group
(?#...)Inline comment group
(?=...)Positive lookahead assertion
(?!...)Negative lookahead assertion
(?<=...)Positive lookbehind assertion
(?<!...)Negative lookbehind assertion
\1Match text previously captured by group 1
\k<name>Match text captured by a named group
\k{name}PCRE2 named backreference
\g{-1}PCRE2 relative numeric backreference
gGlobal matching
mMultiline anchors
iCase-insensitive matching
sDot matches line terminators
uUnicode-aware matching
ySticky matching from the current lastIndex
xIgnore pattern whitespace and allow comments
UInvert default greediness
$&Insert the complete match
$1Insert capture group 1
$<name>Insert a named capture group
$$Insert a literal dollar sign
$`Insert content before the match
$'Insert content after the match
${1}PCRE2 replacement capture group
\p{Letter}Match a Unicode property or script category
\P{Letter}Negated Unicode property or script category
\XExtended Unicode grapheme sequence
\RUnicode newline sequence
\x20Character by hexadecimal value
\u{1F600}Unicode code point escape
\Q...\ETreat enclosed text as literals
\KReset the reported start of the current match
(*ACCEPT)PCRE2 control verb — immediately accept the current match
(*FAIL)PCRE2 control verb — force the current match path to fail
(*SKIP)PCRE2 control verb — move the next match attempt forward
(*UTF)Enable UTF mode in PCRE2
JavaScript 정규식은 전용 Web Worker에서 엄격한 타임아웃과 함께 실행되어 문제가 있는 패턴이 Devary UI를 멈추지 않도록 합니다.
대상 flavor를 선택해 이식성 문제를 확인하고 하나의 엔진이 모든 런타임과 같다고 가장하지 않은 채 코드를 생성합니다.
패턴, 예제, 테스트 및 가져온 handoff는 브라우저 메모리에만 남으며 Devary 백엔드로 전송되지 않습니다.