Regular Expressions 101

Community Library

Community Library Entry

0

Regular ExpressionOpen Workspace

/
^(?:(([\d\p{L}\-_$&+:;=?@#|!\.]+ )*[\d\p{L}\-_$&+:;=?@#|!\.]+)++,)*+(([\d\p{L}\-_$&+:;=?@#|!\.]+ )*[\d\p{L}\-_$&+:;=?@#|!\.]+)++$
/
gm

Description
Created·2023-07-31 07:50
Type·Match
Flavor·PCRE2 (PHP)

Validate comma-separated list of values (allowed: words; digits; special characters; single non-trailing non-leading spaces;)

Submitted by Anonymous
Open Workspace