DEV Community

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

Collapse
 
baenencalin profile image
Calin Baenen

What is [^ with RegExps (well, I mean, the context clues of the post tell me, but y'know, maybe there's more to it than I think), and where can I learn about similar RE features?

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/