Community Patterns

Community Library Entry

1

Regular Expression
Created·2024-11-20 01:41
Updated·2024-11-20 01:51
Flavor·ECMAScript (JavaScript)

/
(?:([-‐‑‒–—―−⁃﹘﹣-])|(?:&(?:(?:#x(2d|201[0-5]|2212|2043|fe58|fe63|ff0d))|(?:#(45|820[89]|821[0123]|8722|8259|65112|65123|65293))|(hyphen|[nm]?dash|hybull|horbar|minus));?))
/
gmu
Open regex in editor

Description

Match any of the weird dashes people figure out how to put in their data

Submitted by anonymous