Regular Expressions 101

Community Library

Your search did not match anything

Community Library Entry

1

Regular ExpressionOpen Workspace

/
^[a-zA--яА-Я0-9]*(-)?(?:[a-zA--яА-Я0-9])*$
/
gm

Description
Created·2025-09-20 18:27
Type·Match
Flavor·JavaScript

Only one special character ("-") is allowed when entering a word

Submitted by Anonymous
Open Workspace