Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
<article class="message-body js-selectToQuote">(.*?)<\/article>
/
s
Input 1
<xf:macro name="post" arg-post="!" arg-thread="!"> <xf:css src="message.less" /> <xf:set var="$isIgnored" value="{{ $post.isIgnored() }}" /> <article class="message message--post js-post js-inlineModContainer {{ $isIgnored ? 'is-ignored' : '' }} {{ $post.isUnread() ? ' is-unread' : '' }}" data-author="{{ $post.User.username ?: $post.username }}" data-content="post-{$post.post_id}" id="js-post-{$post.post_id}"> <span class="u-anchorTarget" id="post-{$post.post_id}"></span> <div class="message-inner"> <div class="message-cell message-cell--user"> <xf:macro template="message_macros" name="user_info" arg-user="{$post.User}" arg-fallbackName="{$post.username}"/> </div> <div class="message-cell message-cell--main"> <div class="message-main js-quickEditTarget"> <header class="message-attribution message-attribution--split"> <div class="message-attribution-main"> <a href="{{ link('threads/post', $thread, {'post_id': $post.post_id}) }}" cl