Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
\s?[.-]+\s?
/
gm

Description

This matches morse code input and leaves word break spaces

Submitted by Ember - a year ago