UNPKG

@barinbritva/add-to-calendar

Version:

[![Dependencies counter](https://img.shields.io/badge/dependencies-none-green?style=flat-square)](https://github.com/barinbritva/add-to-calendar/blob/master/package.json) [![License](https://img.shields.io/npm/l/micromatch?style=flat-square)](https://gith

7 lines (6 loc) 175 B
export class StringHelper { static clearPunctuation(value) { const regex = /[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]/g; return value.replace(regex, ''); } }