Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(?<=\G(?!^)|\@apply) ([^\s\;]*|[\p{P}]*)
/
gm
Input 1
/* Adds custom prefix to tailwind classes */ /* https://v2.tailwindcss.com/docs/just-in-time-mode#:~:text=Don%27t%20use%20spaces%20in%20arbitrary%20values */ @apply rounded text-md; @apply rounded text-md aaaa; @apply grid-cols-[1fr,700px,2fr] text-[var(--mystery-var)] text-[color:var(--mystery-var)]; @apply rounded text-md w-[calc(asdasd-ssd)];
Extraction
/* Adds custom prefix to tailwind classes */ /* https://v2.tailwindcss.com/docs/just-in-time-mode#:~:text=Don%27t%20use%20spaces%20in%20arbitrary%20values */ @apply rounded text-md; @apply rounded text-md aaaa; @apply grid-cols-[1fr,700px,2fr] text-[var(--mystery-var)] text-[color:var(--mystery-var)]; @apply rounded text-md w-[calc(asdasd-ssd)];