Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected] • 10 months ago

The best answer on StackOverflow: Using RegEx to parse HTML

stackoverflow.com

external-link
message-square
34
fedilink
317
external-link

The best answer on StackOverflow: Using RegEx to parse HTML

stackoverflow.com

@[email protected] to Programmer [email protected] • 10 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
  • justOnePersistentKbinPlease
    link
    fedilink
    1•10 months ago

    Man, do gen z and alpha even know what Zalgo is?

Programmer [email protected]

[email protected]
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: [email protected]

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.
  • 10 users / day
  • 98 users / week
  • 363 users / month
  • 1.54K users / 6 months
  • 4 subscribers
  • 1.83K Posts
  • 38.7K Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org