Regular Expressions 101

Remove all html from string

Open Workspace
  • PCRE (Legacy)
  • Match
0

Regular Expression

/
(&[a-z]*;)*(?: )*<[^>]*>
/
gm

Description

Remove all tags and special character such as &nbsp;

Submitted by enrico mosca