Regular Expressions 101

Sponsors

Library entries

1
javascript

提取步骤1

提取步骤1
Submitted by liangchao - 22 days ago
2
javascript

Simple URL

Validate an URL input.
Submitted by @nuragic - 4 months ago
2
javascript

Error in Refex

no description available
Submitted by anonymous - 9 years ago
2
javascript

sample

no description available
Submitted by anonymous - 8 years ago
2
javascript

US Postal Code

refactor
Submitted by jay johnson - 8 years ago

Svelte: CSS class attribute (Svelte or HTML friendly), class:directive, TailwindCSS classes, and @apply.

Vote

2

Regular Expression
javascript

/
(?:(\bclass)(?:[:]([_a-zA-Z0-9-]+))?\s*[=]?(?:[{}]{0,}['"\s]*\b(.+)?\b["'\s]*[{}]*)?)|(?:\B([@]apply)\s+([_a-zA-Z0-9-\s\:\/]*)[;]?)
/
gm

Description

Loading markdown...
Submitted by Nicholas Berlette (@nberlette) - 6 months ago