pmjv@lemmy.sdf.org to linuxmemes@lemmy.world · 8 months agoParsing HTML with regexlemmy.sdf.orgimagemessage-square12fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1imageParsing HTML with regexlemmy.sdf.orgpmjv@lemmy.sdf.org to linuxmemes@lemmy.world · 8 months agomessage-square12fedilinkfile-text
minus-squareBreve@pawb.sociallinkfedilinkarrow-up0·8 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·8 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