hi

regex

regex code

  1. to replace an entire line that includes a keyword (ex. google)

    1.     ^.*google.*$

     

  2. Copy all URLs to the clipboard

    1. copy([...document.querySelectorAll('a')].map(a => a.href));

#all #tech