Discover
  • Communities
  • Create Post
  • Create Community
  • 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
41
link
fedilink
320
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
41
link
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
  • orcrist@lemm.ee
    link
    fedilink
    arrow-up
    5
    ·
    8 months ago

    deleted by creator

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.

  • 133 users / day
  • 515 users / week
  • 1.61K users / month
  • 9.92K users / 6 months
  • 1 local subscriber
  • 35.6K subscribers
  • 1.51K Posts
  • 25.4K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org