Thursday, July 19, 2018

Regular Expression to find Tag with with attributes or content

<[^<>]*>Gill Sans</[^<>]*>

<[^<>]*"Gill Sans"[^<>]*>[^<>]*</[^<>]*> 



  1. First expression: to find 'Gill Sans' within a tag
  2. 'Gill Sans' remaining as an attribute on the tag

No comments:

Post a Comment

  To configure Nginx for a Laravel application located within a subfolder, a  location  block is required to handle requests to that specifi...