(
<a
.
*?
href=
(
"
|
'
)
.
*?
\.
(?:
bmp
|
gif
|
jpg
|
jpeg
|
png
)
?
\2
)
(
*
.
*?
>
)
.
*?
</a>
(?:
[\s]
*
(?:
</dt>
)
?
[\s]
*
<
(
p
|
(?:
dd
)
)
.
*?
wp-caption-text
.
*?
>
[\s]
*
(
.
*?
)
[\s]
*
</
\4
>
)
?
Options: case insensitive
Match the regular expression below and capture its match into backreference number 1
Match the characters "<a" literally
Match any single character that is not a line break character
Between zero and unlimited times, as few times as possible, expanding as needed (lazy)
Match the characters "href=" literally
Match the regular expression below and capture its match into backreference number 2
Match either the regular expression below (attempting the next alternative only if this one fails)
Match the character """ literally
Or match regular expression number 2 below (the entire group fails if this one fails to match)
Match the character "'" literally
Match any single character that is not a line break character
Between zero and unlimited times, as few times as possible, expanding as needed (lazy)
Match the character "." literally
Match the regular expression below
Between zero and one times, as many times as possible, giving back as needed (greedy)
Match either the regular expression below (attempting the next alternative only if this one fails)
Match the characters "bmp" literally
Or match regular expression number 2 below (attempting the next alternative only if this one fails)
Match the characters "gif" literally
Or match regular expression number 3 below (attempting the next alternative only if this one fails)
Match the characters "jpg" literally
Or match regular expression number 4 below (attempting the next alternative only if this one fails)
Match the characters "jpeg" literally
Or match regular expression number 5 below (the entire group fails if this one fails to match)
Match the characters "png" literally
Match the same text as most recently matched by capturing group number 2
Match the regular expression below and capture its match into backreference number 3
Match the character " " literally
Between zero and unlimited times, as many times as possible, giving back as needed (greedy)
Match any single character that is not a line break character
Between zero and unlimited times, as few times as possible, expanding as needed (lazy)
Match the character ">" literally
Match any single character that is not a line break character
Between zero and unlimited times, as few times as possible, expanding as needed (lazy)
Match the characters "</a>" literally
Match the regular expression below
Between zero and one times, as many times as possible, giving back as needed (greedy)
Match a single character that is a "whitespace character" (spaces, tabs, and line breaks)
Between zero and unlimited times, as many times as possible, giving back as needed (greedy)
Match the regular expression below
Between zero and one times, as many times as possible, giving back as needed (greedy)
Match the characters "</dt>" literally
Match a single character that is a "whitespace character" (spaces, tabs, and line breaks)
Between zero and unlimited times, as many times as possible, giving back as needed (greedy)
Match the character "<" literally
Match the regular expression below and capture its match into backreference number 4
Match either the regular expression below (attempting the next alternative only if this one fails)
Match the character "p" literally
Or match regular expression number 2 below (the entire group fails if this one fails to match)
Match the regular expression below
Match the characters "dd" literally
Match any single character that is not a line break character
Between zero and unlimited times, as few times as possible, expanding as needed (lazy)
Match the characters "wp-caption-text" literally
Match any single character that is not a line break character
Between zero and unlimited times, as few times as possible, expanding as needed (lazy)
Match the character ">" literally
Match a single character that is a "whitespace character" (spaces, tabs, and line breaks)
Between zero and unlimited times, as many times as possible, giving back as needed (greedy)
Match the regular expression below and capture its match into backreference number 5
Match any single character that is not a line break character
Between zero and unlimited times, as few times as possible, expanding as needed (lazy)
Match a single character that is a "whitespace character" (spaces, tabs, and line breaks)
Between zero and unlimited times, as many times as possible, giving back as needed (greedy)
Match the characters "</" literally
Match the same text as most recently matched by capturing group number 4
Match the character ">" literally