Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2016-07-05 21:12
Flavor·JavaScript

Description

It fiters plain text from plain text + html content, the input has the shape:

"plain text <div><p>html content</p></div>"

It keeps only the plain text at the beginning.

Submitted by gugol