Regex Input

Regex input with slashes, violet flags, and a tabular match-count pill on the right.

/\b\w+@\w+\.com\b/gi
12

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Editor21 } from "@/components/beste/piece/editor21";

<Editor21
  pattern="\b\w+@\w+\.com\b"
  flags="gi"
  matches={12}
/>