Skip to content
View 1-Felix's full-sized avatar
β˜•
Always learning
β˜•
Always learning

Block or report 1-Felix

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. webanwendung webanwendung Public

    Webandwendungs-Projekt

    JavaScript 1

  2. WebDesign3-DHBW/Next-level-ai-experience WebDesign3-DHBW/Next-level-ai-experience Public

    Much wow Web Deisgn πŸ¦„

    JavaScript 1 1

  3. webanwendung-on18/effective-octo-waffle webanwendung-on18/effective-octo-waffle Public

    JavaScript 3 2

  4. Book-List Book-List Public

    HTML

  5. Transform every <br> inside paragrap... Transform every <br> inside paragraph to \n and remove every other <br>
    1
    const str = `<br><h1>Test test test</h1><br><br><p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. <br>HIER IST DER BREAK Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p><br><p>Test <br> test test test</p>`;
    2
    const regex = /(<p>(?:.|\n)+?)(?:(<br(?: | \/|\/)?>)(?:\b|\n\b| \b))((?:.|\n)+?<\/p>)/gi
    3
    
                  
    4
    //change every <br> inside paragraph into \n
    5
    // (?: ) -> Non caputuring groups (I only neeed 3 groups: befor <br>, <br> and after <br>)