logoalt Hacker News

blauditore • today at 2:40 PM • 1 reply • view on HN

Can I parse (X)HTML that way, or should I go back to regex?


Replies

bertylicious • today at 5:16 PM

Regex is overkill for this. Just split the input string on '<' and '>'.