Regular Expressions 101

Sponsors

Library entries

1
javascript

RegEx Workshop

Phone Number RegEx
Submitted by Anthony Cooper - 10 months ago
1
javascript

Add rgb for colour variables

Add rgb for colour variables
Submitted by anonymous - 10 months ago
1
javascript

Third Strike - SRK Wiki - Any Guard Type

xxx
Submitted by Clay Dunston - 10 months ago
1
golang

SQL comments Big Query

SQL comments on Big Query
Submitted by anonymous - 9 months ago
1
javascript

CSV CIDR subnets

Comma separated CIDR network addresses
Submitted by Glenn - 9 months ago
1
javascript

hashtag

gfhgfhghfg
Submitted by anonymous - 9 months ago
1
java

11

11
Submitted by 11 - 9 months ago
1
javascript

1

1
Submitted by anonymous - 8 months 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) - 7 months ago