Skip to content

Instantly share code, notes, and snippets.

@sicay1
Last active January 10, 2020 04:29
Show Gist options
  • Select an option

  • Save sicay1/28ac8b4023bd83e70b31767c4e148e73 to your computer and use it in GitHub Desktop.

Select an option

Save sicay1/28ac8b4023bd83e70b31767c4e148e73 to your computer and use it in GitHub Desktop.

Revisions

  1. sicay1 revised this gist Jan 10, 2020. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -2400,5 +2400,12 @@ Popular Courses</h2>
    - regex

    get <div ... >text to get</div>

    <div.*">.+\<
    -- find <divXX...XXX>0XXX<

    (?<=(div).*">).+(?=\<)
    -- find begin "<divXX...XXX>" find to end "<", get content in the middle only


    (?<=\>).+(?=\<\/div)
  2. sicay1 created this gist Jan 10, 2020.
    2,404 changes: 2,404 additions & 0 deletions gistfile1.txt
    2,404 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.