pmjv@lemmy.sdf.org to linuxmemes@lemmy.world · 11 months agoParsing HTML with regexlemmy.sdf.orgimagemessage-square13fedilinkarrow-up14arrow-down10file-text
arrow-up14arrow-down1imageParsing HTML with regexlemmy.sdf.orgpmjv@lemmy.sdf.org to linuxmemes@lemmy.world · 11 months agomessage-square13fedilinkfile-text
minus-squareBreve@pawb.sociallinkfedilinkarrow-up0·11 months agoI use regex in SQL to parse HTML stored in a database. It can’t universally parse and validate every HTML document, but it can still be used to find specific data like pulling out every link.
minus-squareBluesF@lemmy.worldlinkfedilinkarrow-up1·11 months agoI don’t think that using regex to basically do regex stuff on strings that happen to also be HTML really counts as parsing HTML
I use regex in SQL to parse HTML stored in a database. It can’t universally parse and validate every HTML document, but it can still be used to find specific data like pulling out every link.
I don’t think that using regex to basically do regex stuff on strings that happen to also be HTML really counts as parsing HTML