Gentleface › Development › regex
regex icon
regexRegex: regex, regular expression, regexp. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M6.724 7.947C6.6 8.009 6.473 8.018 6.342 7.974C6.211 7.931 6.115 7.847 6.053 7.724C5.991 7.6 5.982 7.473 6.026 7.342C6.069 7.211 6.153 7.115 6.276 7.053L9.382 5.5L6.276 3.947C6.153 3.885 6.069 3.789 6.026 3.658C5.982 3.527 5.991 3.4 6.053 3.276C6.115 3.153 6.211 3.069 6.342 3.026C6.473 2.982 6.6 2.991 6.724 3.053L10 4.691L10 1.5C10 1.359 10.048 1.241 10.144 1.144C10.241 1.048 10.359 1 10.5 1C10.641 1 10.759 1.048 10.856 1.144C10.952 1.241 11 1.359 11 1.5L11 4.691L14.276 3.053C14.402 2.99 14.53 2.98 14.659 3.023C14.788 3.066 14.884 3.15 14.947 3.276C15.01 3.402 15.02 3.53 14.977 3.659C14.934 3.788 14.85 3.884 14.724 3.947L11.618 5.5L14.724 7.053C14.847 7.115 14.931 7.211 14.974 7.342C15.018 7.473 15.009 7.6 14.947 7.724C14.884 7.85 14.788 7.934 14.659 7.977C14.53 8.02 14.402 8.01 14.276 7.947L11 6.309L11 9.5C11 9.641 10.952 9.759 10.856 9.856C10.759 9.952 10.641 10 10.5 10C10.359 10 10.241 9.952 10.144 9.856C10.048 9.759 10 9.641 10 9.5L10 6.309L6.724 7.947ZM2.439 11.439C2.732 11.146 3.086 11 3.5 11C3.914 11 4.268 11.146 4.561 11.439C4.854 11.732 5 12.086 5 12.5C5 12.914 4.854 13.268 4.561 13.561C4.268 13.854 3.914 14 3.5 14C3.086 14 2.732 13.854 2.439 13.561C2.146 13.268 2 12.914 2 12.5C2 12.086 2.146 11.732 2.439 11.439Z"/></svg>
// Gentleface "regex" (line-round), MIT. https://gentleface.com/icons/regex
import type { SVGProps } from 'react';
export function RegexIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M6.724 7.947C6.6 8.009 6.473 8.018 6.342 7.974C6.211 7.931 6.115 7.847 6.053 7.724C5.991 7.6 5.982 7.473 6.026 7.342C6.069 7.211 6.153 7.115 6.276 7.053L9.382 5.5L6.276 3.947C6.153 3.885 6.069 3.789 6.026 3.658C5.982 3.527 5.991 3.4 6.053 3.276C6.115 3.153 6.211 3.069 6.342 3.026C6.473 2.982 6.6 2.991 6.724 3.053L10 4.691L10 1.5C10 1.359 10.048 1.241 10.144 1.144C10.241 1.048 10.359 1 10.5 1C10.641 1 10.759 1.048 10.856 1.144C10.952 1.241 11 1.359 11 1.5L11 4.691L14.276 3.053C14.402 2.99 14.53 2.98 14.659 3.023C14.788 3.066 14.884 3.15 14.947 3.276C15.01 3.402 15.02 3.53 14.977 3.659C14.934 3.788 14.85 3.884 14.724 3.947L11.618 5.5L14.724 7.053C14.847 7.115 14.931 7.211 14.974 7.342C15.018 7.473 15.009 7.6 14.947 7.724C14.884 7.85 14.788 7.934 14.659 7.977C14.53 8.02 14.402 8.01 14.276 7.947L11 6.309L11 9.5C11 9.641 10.952 9.759 10.856 9.856C10.759 9.952 10.641 10 10.5 10C10.359 10 10.241 9.952 10.144 9.856C10.048 9.759 10 9.641 10 9.5L10 6.309L6.724 7.947ZM2.439 11.439C2.732 11.146 3.086 11 3.5 11C3.914 11 4.268 11.146 4.561 11.439C4.854 11.732 5 12.086 5 12.5C5 12.914 4.854 13.268 4.561 13.561C4.268 13.854 3.914 14 3.5 14C3.086 14 2.732 13.854 2.439 13.561C2.146 13.268 2 12.914 2 12.5C2 12.086 2.146 11.732 2.439 11.439Z" />
</svg>
);
}Vue: see /icons/regex.md
Svelte: see /icons/regex.md
HTML img: see /icons/regex.md
CSS: see /icons/regex.md
Data URL: see /icons/regex.md
Sprite: see /icons/regex.md
SwiftUI: see /icons/regex.md
Compose: see /icons/regex.md
Android XML: see /icons/regex.md
Flutter: see /icons/regex.md
Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
Meaning
- Use it for
- regex, regular expression, regexp
- Alternatives
asterisk: a simple * wildcard rather than a full pattern (wildcard)
- Tags
- regex, regexp, regular-expression, pattern, wildcard, asterisk, match, find, replace, developer
- Category
- Development
- Component name
RegexIcon- History
- added
More development icons
binary braces brackets bug bug-off bug-play code code-alert code-block code-eye code-off code-pencil code-play code-search code-sparkle container · all development icons
For agents
Metadata: /icons/regex.json · Markdown: /icons/regex.md · SVG: https://gentleface.com/svg/{style}/16/regex.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/regex.png