DEV Community

Discussion on: 3 ways to convert HTML text to plain text

Collapse
 
darvanen profile image
Max Pogonowski

It means "negated set" so [^>] is "a set of any characters except for >"
My favourite tool for learning about and testing regex is regexr.com/