Regular Expressions 101

fiter plain text from plain text + html content

Open Workspace
  • JavaScript
  • Match
0

Regular Expression

/
[^<>]*
/

Description

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

"plain text html content"

It keeps only the plain text at the beginning.

Submitted by gugol