AbsoluteSix
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
BaumGeist@lemmy.ml to Programmer Humor@lemmy.ml · 8 months ago

The best answer on StackOverflow: Using RegEx to parse HTML

stackoverflow.com

external-link
message-square
34
fedilink
303
external-link

The best answer on StackOverflow: Using RegEx to parse HTML

stackoverflow.com

BaumGeist@lemmy.ml to Programmer Humor@lemmy.ml · 8 months ago
message-square
34
fedilink
RegEx match open tags except XHTML self-contained tags
stackoverflow.com
external-link
I need to match all of these opening tags: <p> <a href="foo"> But not self-closing tags: <br /> <hr class="foo" /> I came up with this and wanted to make
  • Skull giver@popplesburger.hilciferous.nl
    link
    fedilink
    arrow-up
    6
    ·
    8 months ago

    deleted by creator

    • captain_samuel_brady@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      8 months ago

      Magic may be an overstatement. I would be shocked if any of them fixed even 0.1% of the problems posted to Microsoft’s joke of a support forum where they were presented as solutions.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 160 users / day
  • 519 users / week
  • 1.79K users / month
  • 10.5K users / 6 months
  • 1 local subscriber
  • 35.6K subscribers
  • 1.62K Posts
  • 12.3K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.10
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org