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
Select last paragraph of a text
Open Workspace
JavaScript
Match
Created 2022-09-15 09:16
0
Regular Expression
/
(?<MyLastParagraph>
.
*
\s
)
$
/
g
Description
Selects the last paragraph of a text.
Submitted by
Optimiza.tech