而且,这是可行的
"']|"[^"]*"|'[^']*')*?\ssrc\s*=\s*(?:(['"])(?:(?!\1)[\S\s])*?(?:specical\.com/external/widget/api\.php?)(?:(?!\1)[\S\s])*?\1))\s+(?:"[\S\s]*?"|'[\S\s]*?'|[^>]*?)+>
< iframe
(?= \s )
(?= # Asserttion for: src (a pseudo atomic group)
(?: [^>"'] | " [^"]* " | ' [^']* ' )*?
\s src \s* = \s*
(?:
( ['"] ) # (1)
(?:
(?! \1 )
[\S\s]
)*?
(?: #
specical\.com/external/widget/api\.php?
)
(?:
(?! \1 )
[\S\s]
)*?
\1
)
)
# Have the src attribute, just match the rest of tag
\s+
(?: " [\S\s]*? " | ' [\S\s]*? ' | [^>]*? )+
> # End tag