regex from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.

Name
regex
Set
Codicons
Style
Regular
Viewbox
16×16
License
CC BY 4.0

The same icon in other sets

Use the regex icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M11.498 5H9.705l1.268-1.268a.5.5 0 0 0-.707-.707L8.998 4.293V2.5a.5.5 0 0 0-1 0v1.793L6.73 3.025a.5.5 0 0 0-.707.707L7.291 5H5.498a.5.5 0 0 0 0 1h1.793L6.023 7.268a.5.5 0 0 0 .708.707l1.268-1.268V8.5a.5.5 0 0 0 1 0V6.707l1.268 1.268a.5.5 0 0 0 .708 0a.5.5 0 0 0 0-.707L9.707 6H11.5a.5.5 0 0 0 0-1zM5 12a1 1 0 1 1-2 0a1 1 0 0 1 2 0"/></svg>

React

import type { SVGProps } from "react";

export function CodiconRegex(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M11.498 5H9.705l1.268-1.268a.5.5 0 0 0-.707-.707L8.998 4.293V2.5a.5.5 0 0 0-1 0v1.793L6.73 3.025a.5.5 0 0 0-.707.707L7.291 5H5.498a.5.5 0 0 0 0 1h1.793L6.023 7.268a.5.5 0 0 0 .708.707l1.268-1.268V8.5a.5.5 0 0 0 1 0V6.707l1.268 1.268a.5.5 0 0 0 .708 0a.5.5 0 0 0 0-.707L9.707 6H11.5a.5.5 0 0 0 0-1zM5 12a1 1 0 1 1-2 0a1 1 0 0 1 2 0"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M11.498 5H9.705l1.268-1.268a.5.5 0 0 0-.707-.707L8.998 4.293V2.5a.5.5 0 0 0-1 0v1.793L6.73 3.025a.5.5 0 0 0-.707.707L7.291 5H5.498a.5.5 0 0 0 0 1h1.793L6.023 7.268a.5.5 0 0 0 .708.707l1.268-1.268V8.5a.5.5 0 0 0 1 0V6.707l1.268 1.268a.5.5 0 0 0 .708 0a.5.5 0 0 0 0-.707L9.707 6H11.5a.5.5 0 0 0 0-1zM5 12a1 1 0 1 1-2 0a1 1 0 0 1 2 0"/></svg>
</template>

CSS

.icon-regex {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M11.498%205H9.705l1.268-1.268a.5.5%200%200%200-.707-.707L8.998%204.293V2.5a.5.5%200%200%200-1%200v1.793L6.73%203.025a.5.5%200%200%200-.707.707L7.291%205H5.498a.5.5%200%200%200%200%201h1.793L6.023%207.268a.5.5%200%200%200%20.708.707l1.268-1.268V8.5a.5.5%200%200%200%201%200V6.707l1.268%201.268a.5.5%200%200%200%20.708%200a.5.5%200%200%200%200-.707L9.707%206H11.5a.5.5%200%200%200%200-1zM5%2012a1%201%200%201%201-2%200a1%201%200%200%201%202%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M11.498%205H9.705l1.268-1.268a.5.5%200%200%200-.707-.707L8.998%204.293V2.5a.5.5%200%200%200-1%200v1.793L6.73%203.025a.5.5%200%200%200-.707.707L7.291%205H5.498a.5.5%200%200%200%200%201h1.793L6.023%207.268a.5.5%200%200%200%20.708.707l1.268-1.268V8.5a.5.5%200%200%200%201%200V6.707l1.268%201.268a.5.5%200%200%200%20.708%200a.5.5%200%200%200%200-.707L9.707%206H11.5a.5.5%200%200%200%200-1zM5%2012a1%201%200%201%201-2%200a1%201%200%200%201%202%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/codicon/regex.svg?color=%231a73e8&size=48