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 icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. 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.
With npm: import { RegexIcon } from '@gentleface/react'; (setup).
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
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
More development icons
api api-gateway api-letters api-off api-sparkle binary binary-off braces braces-check braces-x brackets breakpoint breakpoint-conditional breakpoint-log bug bug-check · 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