Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

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

Description

Selects the last paragraph of a text.

Submitted by Optimiza.tech - 2 years ago