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