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
/
(<[a-z\/]+\b)[^<>]*(>\s*)
/
gm
Input 1
<html> <head> <meta charset="utf-8"> <title data-react-helmet="true"></title> <meta data-react-helmet="true" name="google-site-verification" content="oK1wxWd6PmSRXPig-5hI0KACVm0ITZ4E9cgRYCCbI8I"> <meta data-react-helmet="true" name="robots" content="noindex,nofollow"> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"> <meta name="format-detection" content="telephone=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/favicon-32x32.png"> <link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"> <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> <link rel="apple-touch-icon" href="/assets/icons/favicon-120x120.png"> <link rel="icon" type="svg+xml" sizes="120x120" href="/assets/svg/favicon.svg">
Extraction
$1$2
<html> <head> <meta charset="utf-8"> <title data-react-helmet="true"></title> <meta data-react-helmet="true" name="google-site-verification" content="oK1wxWd6PmSRXPig-5hI0KACVm0ITZ4E9cgRYCCbI8I"> <meta data-react-helmet="true" name="robots" content="noindex,nofollow"> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"> <meta name="format-detection" content="telephone=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/favicon-32x32.png"> <link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"> <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> <link rel="apple-touch-icon" href="/assets/icons/favicon-120x120.png"> <link rel="icon" type="svg+xml" sizes="120x120" href="/assets/svg/favicon.svg">