Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Wrap long string to spec length
Open Workspace
PCRE (Legacy)
Substitution
Created 2013-07-21 20:34
29
Regular Expression
/
(
\b.
{1,40}
)(?:
\s
+
|
\n
|
$
)
/
iug
Description
No description provided.
Submitted by
fullpipe