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
/
(?<=div id="body">).*?<\/div>
/
s
Input 1
<!DOCTYPE html> <!--[if lt IE 7 ]> <html lang="en" class="wf-loading no-js ie6"> <![endif]--> <!--[if IE 7 ]> <html lang="en" class="wf-loading no-js ie7"> <![endif]--> <!--[if IE 8 ]> <html lang="en" class="wf-loading no-js ie8"> <![endif]--> <!--[if IE 9 ]> <html lang="en" class="wf-loading no-js ie9"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js wf-loading" lang="en"> <!--<![endif]--> <head> <meta charset="utf-8"> <title>Election Speeches · Malcolm Fraser, 1980 · Museum of Australian Democracy at Old Parliament House</title> <link href="http://s3-ap-southeast-2.amazonaws.com/moad-electionspeeches/assets/application-f6b135c7ad2e376390481e536bea4527.css" media="all" rel="stylesheet" type="text/css" /> <script src="http://s3-ap-southeast-2.amazonaws.com/moad-electionspeeches/assets/modernizr-60577730ebd4c42a28ef71ebe04d11b7.js" type="text/javascript"></script> </head> <body> <div class="container"> <section id="shared-header"> <div class="row"> <div class="sp
Extraction
<!DOCTYPE html> <!--[if lt IE 7 ]> <html lang="en" class="wf-loading no-js ie6"> <![endif]--> <!--[if IE 7 ]> <html lang="en" class="wf-loading no-js ie7"> <![endif]--> <!--[if IE 8 ]> <html lang="en" class="wf-loading no-js ie8"> <![endif]--> <!--[if IE 9 ]> <html lang="en" class="wf-loading no-js ie9"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js wf-loading" lang="en"> <!--<![endif]--> <head> <meta charset="utf-8"> <title>Election Speeches · Malcolm Fraser, 1980 · Museum of Australian Democracy at Old Parliament House</title> <link href="http://s3-ap-southeast-2.amazonaws.com/moad-electionspeeches/assets/application-f6b135c7ad2e376390481e536bea4527.css" media="all" rel="stylesheet" type="text/css" /> <script src="http://s3-ap-southeast-2.amazonaws.com/moad-electionspeeches/assets/modernizr-60577730ebd4c42a28ef71ebe04d11b7.js" type="text/javascript"></script> </head> <body> <div class="container"> <section id="shared-header"> <div class="row"> <div class="sp