TEXT 31
[regex] remove html tags from string By micha on 17th April 2019 11:39:57 AM
  1. /<[^>]*>/gm
  2.  
  3. https://regex101.com/r/shgsz9/1/
  4.  
  5.  
  6. Match a single character not present in the list below [^>]*
  7. * Quantifier — Matches between zero and unlimited times, as many times as possible, giving back as needed (greedy)
  8. > matches the character > literally (case sensitive)

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.