Regular Expressions 101

Community Patterns

Select last paragraph of a text

0

Regular Expression
ECMAScript (JavaScript)

/
(?<MyLastParagraph>.*\s)$
/
g

Description

Selects the last paragraph of a text.

Submitted by Optimiza.tech - 2 years ago