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
/
(?<code1>id="question-summary-)(?<code2>\d+)
/
g
Input 1
<div class="question-summary" id="question-summary-80407"> <div class="statscontainer"> <div class="statsarrow"></div> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post "><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered"> <strong>1</strong>answer </div> </div> <div class="views " title="60 views"> 60 views </div> </div> <div class="summary"> <h3><a href="/questions/80407/about-power-supply-of-opertional-amplifier" class="question-hyperlink">about power supply of opertional amplifier</a></h3> <div class="excerpt"> I am constructing an operational amplifier as shown in the following figure. I use