Regular Expressions 101

Community Patterns

deetct href and src in html files for vs code

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(href|src)="(?!http|#|.*html)
/
gm

Description

deetct href= and src= in html files for vs code

Submitted by anonymous - 2 years ago