$re = '/<(script|style)(?:(?!src|nonce).)?(.*?)>/m';
$str = '
<!DOCTYPE html>
<html class="no-js" lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" >
<link rel="profile" href="https://gmpg.org/xfn/11">
<title>Test – Just another WordPress site</title>
<meta name=\'robots\' content=\'noindex,nofollow\' />
<link rel=\'dns-prefetch\' href=\'//s.w.org\' />
<link rel="alternate" type="application/rss+xml" title="Test » Feed" href="https://localhost:32810" />
<link rel="alternate" type="application/rss+xml" title="Test » Comments Feed" href="https://localhost:32810/?feed=comments-rss2" />
<link rel="alternate" type="application/rss+xml" title="Test » Sample Page Comments Feed" href="https://localhost:32810/?feed=rss2&page_id=2" />
<script>
window._wpemojiSettings = {"baseUrl":"https:\\/\\/s.w.org\\/images\\/core\\/emoji\\/13.0.0\\/72x72\\/","ext":".png","svgUrl":"https:\\/\\/s.w.org\\/images\\/core\\/emoji\\/13.0.0\\/svg\\/","svgExt":".svg","source":{"wpemoji":"https:\\/\\/localhost:32810\\/wp-includes\\/js\\/wp-emoji.js?ver=5.6-alpha-48683-src","twemoji":"https:\\/\\/localhost:32810\\/wp-includes\\/js\\/twemoji.js?ver=5.6-alpha-48683-src"}};
/**
* @output wp-includes/js/wp-emoji-loader.js
*/
( function( window, document, settings ) {
var src, ready, ii, tests;
// Create a canvas element for testing native browser support of emoji.
var canvas = document.createElement( \'canvas\' );
var context = canvas.getContext && canvas.getContext( \'2d\' );
/**
* Checks if two sets of Emoji characters render the same visually.
*
* @since 4.9.0
*
* @private
*
* @param {number[]} set1 Set of Emoji character codes.
* @param {number[]} set2 Set of Emoji character codes.
*
* @return {boolean} True if the two sets render the same.
*/
function emojiSetsRenderIdentically( set1, set2 ) {
var stringFromCharCode = String.fromCharCode;
// Cleanup from previous test.
context.clearRect( 0, 0, canvas.width, canvas.height );
context.fillText( stringFromCharCode.apply( this, set1 ), 0, 0 );
var rendered1 = canvas.toDataURL();
// Cleanup from previous test.
context.clearRect( 0, 0, canvas.width, canvas.height );
context.fillText( stringFromCharCode.apply( this, set2 ), 0, 0 );
var rendered2 = canvas.toDataURL();
return rendered1 === rendered2;
}
/**
* Detects if the browser supports rendering emoji or flag emoji.
*
* Flag emoji are a single glyph made of two characters, so some browsers
* (notably, Firefox OS X) don\'t support them.
*
* @since 4.2.0
*
* @private
*
* @param {string} type Whether to test for support of "flag" or "emoji".
*
* @return {boolean} True if the browser can render emoji, false if it cannot.
*/
function browserSupportsEmoji( type ) {
var isIdentical;
if ( ! context || ! context.fillText ) {
return false;
}
/*
* Chrome on OS X added native emoji rendering in M41. Unfortunately,
* it doesn\'t work when the font is bolder than 500 weight. So, we
* check for bold rendering support to avoid invisible emoji in Chrome.
*/
context.textBaseline = \'top\';
context.font = \'600 32px Arial\';
switch ( type ) {
case \'flag\':
/*
* Test for Transgender flag compatibility. This flag is shortlisted for the Emoji 13 spec,
* but has landed in Twemoji early, so we can add support for it, too.
*
* To test for support, we try to render it, and compare the rendering to how it would look if
* the browser doesn\'t render it correctly (white flag emoji + transgender symbol).
*/
isIdentical = emojiSetsRenderIdentically(
[ 0x1F3F3, 0xFE0F, 0x200D, 0x26A7, 0xFE0F ],
[ 0x1F3F3, 0xFE0F, 0x200B, 0x26A7, 0xFE0F ]
);
if ( isIdentical ) {
return false;
}
/*
* Test for UN flag compatibility. This is the least supported of the letter locale flags,
* so gives us an easy test for full support.
*
* To test for support, we try to render it, and compare the rendering to how it would look if
* the browser doesn\'t render it correctly ([U] + [N]).
*/
isIdentical = emojiSetsRenderIdentically(
[ 0xD83C, 0xDDFA, 0xD83C, 0xDDF3 ],
[ 0xD83C, 0xDDFA, 0x200B, 0xD83C, 0xDDF3 ]
);
if ( isIdentical ) {
return false;
}
/*
* Test for English flag compatibility. England is a country in the United Kingdom, it
* does not have a two letter locale code but rather an five letter sub-division code.
*
* To test for support, we try to render it, and compare the rendering to how it would look if
* the browser doesn\'t render it correctly (black flag emoji + [G] + [B] + [E] + [N] + [G]).
*/
isIdentical = emojiSetsRenderIdentically(
[ 0xD83C, 0xDFF4, 0xDB40, 0xDC67, 0xDB40, 0xDC62, 0xDB40, 0xDC65, 0xDB40, 0xDC6E, 0xDB40, 0xDC67, 0xDB40, 0xDC7F ],
[ 0xD83C, 0xDFF4, 0x200B, 0xDB40, 0xDC67, 0x200B, 0xDB40, 0xDC62, 0x200B, 0xDB40, 0xDC65, 0x200B, 0xDB40, 0xDC6E, 0x200B, 0xDB40, 0xDC67, 0x200B, 0xDB40, 0xDC7F ]
);
return ! isIdentical;
case \'emoji\':
/*
* So easy, even a baby could do it!
*
* To test for Emoji 13 support, try to render a new emoji: Man Feeding Baby.
*
* The Man Feeding Baby emoji is a ZWJ sequence combining 👨 Man, a Zero Width Joiner and 🍼 Baby Bottle.
*
* 0xD83D, 0xDC68 == Man emoji.
* 0x200D == Zero-Width Joiner (ZWJ) that links the two code points for the new emoji or
* 0x200B == Zero-Width Space (ZWS) that is rendered for clients not supporting the new emoji.
* 0xD83C, 0xDF7C == Baby Bottle.
*
* When updating this test for future Emoji releases, ensure that individual emoji that make up the
* sequence come from older emoji standards.
*/
isIdentical = emojiSetsRenderIdentically(
[0xD83D, 0xDC68, 0x200D, 0xD83C, 0xDF7C],
[0xD83D, 0xDC68, 0x200B, 0xD83C, 0xDF7C]
);
return ! isIdentical;
}
return false;
}
/**
* Adds a script to the head of the document.
*
* @ignore
*
* @since 4.2.0
*
* @param {Object} src The url where the script is located.
* @return {void}
*/
function addScript( src ) {
var script = document.createElement( \'script\' );
script.src = src;
script.defer = script.type = \'text/javascript\';
document.getElementsByTagName( \'head\' )[0].appendChild( script );
}
tests = Array( \'flag\', \'emoji\' );
settings.supports = {
everything: true,
everythingExceptFlag: true
};
/*
* Tests the browser support for flag emojis and other emojis, and adjusts the
* support settings accordingly.
*/
for( ii = 0; ii < tests.length; ii++ ) {
settings.supports[ tests[ ii ] ] = browserSupportsEmoji( tests[ ii ] );
settings.supports.everything = settings.supports.everything && settings.supports[ tests[ ii ] ];
if ( \'flag\' !== tests[ ii ] ) {
settings.supports.everythingExceptFlag = settings.supports.everythingExceptFlag && settings.supports[ tests[ ii ] ];
}
}
settings.supports.everythingExceptFlag = settings.supports.everythingExceptFlag && ! settings.supports.flag;
// Sets DOMReady to false and assigns a ready function to settings.
settings.DOMReady = false;
settings.readyCallback = function() {
settings.DOMReady = true;
};
// When the browser can not render everything we need to load a polyfill.
if ( ! settings.supports.everything ) {
ready = function() {
settings.readyCallback();
};
/*
* Cross-browser version of adding a dom ready event.
*/
if ( document.addEventListener ) {
document.addEventListener( \'DOMContentLoaded\', ready, false );
window.addEventListener( \'load\', ready, false );
} else {
window.attachEvent( \'onload\', ready );
document.attachEvent( \'onreadystatechange\', function() {
if ( \'complete\' === document.readyState ) {
settings.readyCallback();
}
} );
}
src = settings.source || {};
if ( src.concatemoji ) {
addScript( src.concatemoji );
} else if ( src.wpemoji && src.twemoji ) {
addScript( src.twemoji );
addScript( src.wpemoji );
}
}
} )( window, document, window._wpemojiSettings );
</script>
<style>
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
</style>
<link rel=\'stylesheet\' id=\'dashicons-css\' href=\'https://localhost:32810/wp-includes/css/dashicons.css?ver=5.6-alpha-48683-src\' media=\'all\' />
<link rel=\'stylesheet\' id=\'admin-bar-css\' href=\'https://localhost:32810/wp-includes/css/admin-bar.css?ver=5.6-alpha-48683-src\' media=\'all\' />
<link rel=\'stylesheet\' id=\'wp-block-library-css\' href=\'https://localhost:32810/wp-includes/css/dist/block-library/style.css?ver=5.6-alpha-48683-src\' media=\'all\' />
<link rel=\'stylesheet\' id=\'twentytwenty-style-css\' href=\'https://localhost:32810/wp-content/themes/twentytwenty/style.css?ver=1.5\' media=\'all\' />
<style id=\'twentytwenty-style-inline-css\'>
.color-accent,.color-accent-hover:hover,.color-accent-hover:focus,:root .has-accent-color,.has-drop-cap:not(:focus):first-letter,.wp-block-button.is-style-outline,a { color: #cd2653; }blockquote,.border-color-accent,.border-color-accent-hover:hover,.border-color-accent-hover:focus { border-color: #cd2653; }button,.button,.faux-button,.wp-block-button__link,.wp-block-file .wp-block-file__button,input[type="button"],input[type="reset"],input[type="submit"],.bg-accent,.bg-accent-hover:hover,.bg-accent-hover:focus,:root .has-accent-background-color,.comment-reply-link { background-color: #cd2653; }.fill-children-accent,.fill-children-accent * { fill: #cd2653; }body,.entry-title a,:root .has-primary-color { color: #000000; }:root .has-primary-background-color { background-color: #000000; }cite,figcaption,.wp-caption-text,.post-meta,.entry-content .wp-block-archives li,.entry-content .wp-block-categories li,.entry-content .wp-block-latest-posts li,.wp-block-latest-comments__comment-date,.wp-block-latest-posts__post-date,.wp-block-embed figcaption,.wp-block-image figcaption,.wp-block-pullquote cite,.comment-metadata,.comment-respond .comment-notes,.comment-respond .logged-in-as,.pagination .dots,.entry-content hr:not(.has-background),hr.styled-separator,:root .has-secondary-color { color: #6d6d6d; }:root .has-secondary-background-color { background-color: #6d6d6d; }pre,fieldset,input,textarea,table,table *,hr { border-color: #dcd7ca; }caption,code,code,kbd,samp,.wp-block-table.is-style-stripes tbody tr:nth-child(odd),:root .has-subtle-background-background-color { background-color: #dcd7ca; }.wp-block-table.is-style-stripes { border-bottom-color: #dcd7ca; }.wp-block-latest-posts.is-grid li { border-top-color: #dcd7ca; }:root .has-subtle-background-color { color: #dcd7ca; }body:not(.overlay-header) .primary-menu > li > a,body:not(.overlay-header) .primary-menu > li > .icon,.modal-menu a,.footer-menu a, .footer-widgets a,#site-footer .wp-block-button.is-style-outline,.wp-block-pullquote:before,.singular:not(.overlay-header) .entry-header a,.archive-header a,.header-footer-group .color-accent,.header-footer-group .color-accent-hover:hover { color: #cd2653; }.social-icons a,#site-footer button:not(.toggle),#site-footer .button,#site-footer .faux-button,#site-footer .wp-block-button__link,#site-footer .wp-block-file__button,#site-footer input[type="button"],#site-footer input[type="reset"],#site-footer input[type="submit"] { background-color: #cd2653; }.header-footer-group,body:not(.overlay-header) #site-header .toggle,.menu-modal .toggle { color: #000000; }body:not(.overlay-header) .primary-menu ul { background-color: #000000; }body:not(.overlay-header) .primary-menu > li > ul:after { border-bottom-color: #000000; }body:not(.overlay-header) .primary-menu ul ul:after { border-left-color: #000000; }.site-description,body:not(.overlay-header) .toggle-inner .toggle-text,.widget .post-date,.widget .rss-date,.widget_archive li,.widget_categories li,.widget cite,.widget_pages li,.widget_meta li,.widget_nav_menu li,.powered-by-wordpress,.to-the-top,.singular .entry-header .post-meta,.singular:not(.overlay-header) .entry-header .post-meta a { color: #6d6d6d; }.header-footer-group pre,.header-footer-group fieldset,.header-footer-group input,.header-footer-group textarea,.header-footer-group table,.header-footer-group table *,.footer-nav-widgets-wrapper,#site-footer,.menu-modal nav *,.footer-widgets-outer-wrapper,.footer-top { border-color: #dcd7ca; }.header-footer-group table caption,body:not(.overlay-header) .header-inner .toggle-wrapper::before { background-color: #dcd7ca; }
</style>
<link rel=\'stylesheet\' id=\'twentytwenty-print-style-css\' href=\'https://localhost:32810/wp-content/themes/twentytwenty/print.css?ver=1.5\' media=\'print\' />
<script src=\'https://localhost:32810/wp-content/themes/twentytwenty/assets/js/index.js?ver=1.5\' id=\'twentytwenty-js-js\' async></script>
<link rel="https://api.w.org/" href="https://localhost:32810/index.php?rest_route=/" /><link rel="alternate" type="application/json" href="https://localhost:32810/index.php?rest_route=/wp/v2/pages/2" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://localhost:32810/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://localhost:32810/wp-includes/wlwmanifest.xml" />
<meta name="generator" content="WordPress 5.6-alpha-48683-src" />
<link rel="canonical" href="https://localhost:32810/" />
<link rel=\'shortlink\' href=\'https://localhost:32810/\' />
<link rel="alternate" type="application/json+oembed" href="https://localhost:32810/index.php?rest_route=%2Foembed%2F1.0%2Fembed&url=https%3A%2F%2Flocalhost%3A32810%2F" />
<link rel="alternate" type="text/xml+oembed" href="https://localhost:32810/index.php?rest_route=%2Foembed%2F1.0%2Fembed&url=https%3A%2F%2Flocalhost%3A32810%2F&format=xml" />
<script>document.documentElement.className = document.documentElement.className.replace( \'no-js\', \'js\' );</script>
<style>.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style><style media="print">#wpadminbar { display:none; }</style>
<style media="screen">
html { margin-top: 32px !important; }
* html body { margin-top: 32px !important; }
@media screen and ( max-width: 782px ) {
html { margin-top: 46px !important; }
* html body { margin-top: 46px !important; }
}
</style>
</head>
<body class="home page-template-default page page-id-2 logged-in admin-bar no-customize-support wp-embed-responsive singular enable-search-modal missing-post-thumbnail has-no-pagination not-showing-comments show-avatars footer-top-visible">
<script>
(function() {
var request, b = document.body, c = \'className\', cs = \'customize-support\', rcs = new RegExp(\'(^|\\\\s+)(no-)?\'+cs+\'(\\\\s+|$)\');
request = true;
b[c] = b[c].replace( rcs, \' \' );
// The customizer requires postMessage and CORS (if the site is cross domain).
b[c] += ( window.postMessage && request ? \' \' : \' no-\' ) + cs;
}());
</script>
<div id="wpadminbar" class="nojq nojs">
<div class="quicklinks" id="wp-toolbar" role="navigation" aria-label="Toolbar">
<ul id=\'wp-admin-bar-root-default\' class="ab-top-menu"><li id=\'wp-admin-bar-wp-logo\' class="menupop"><a class=\'ab-item\' aria-haspopup="true" href=\'https://localhost:32810/wp-admin/about.php\'><span class="ab-icon"></span><span class="screen-reader-text">About WordPress</span></a><div class="ab-sub-wrapper"><ul id=\'wp-admin-bar-wp-logo-default\' class="ab-submenu"><li id=\'wp-admin-bar-about\'><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/about.php\'>About WordPress</a></li></ul><ul id=\'wp-admin-bar-wp-logo-external\' class="ab-sub-secondary ab-submenu"><li id=\'wp-admin-bar-wporg\'><a class=\'ab-item\' href=\'https://wordpress.org/\'>WordPress.org</a></li><li id=\'wp-admin-bar-documentation\'><a class=\'ab-item\' href=\'https://codex.wordpress.org/\'>Documentation</a></li><li id=\'wp-admin-bar-support-forums\'><a class=\'ab-item\' href=\'https://wordpress.org/support/\'>Support</a></li><li id=\'wp-admin-bar-feedback\'><a class=\'ab-item\' href=\'https://wordpress.org/support/forum/requests-and-feedback\'>Feedback</a></li></ul></div></li><li id=\'wp-admin-bar-site-name\' class="menupop"><a class=\'ab-item\' aria-haspopup="true" href=\'https://localhost:32810/wp-admin/\'>Test</a><div class="ab-sub-wrapper"><ul id=\'wp-admin-bar-site-name-default\' class="ab-submenu"><li id=\'wp-admin-bar-dashboard\'><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/\'>Dashboard</a></li></ul><ul id=\'wp-admin-bar-appearance\' class="ab-submenu"><li id=\'wp-admin-bar-themes\'><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/themes.php\'>Themes</a></li><li id=\'wp-admin-bar-widgets\'><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/widgets.php\'>Widgets</a></li><li id=\'wp-admin-bar-menus\'><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/nav-menus.php\'>Menus</a></li><li id=\'wp-admin-bar-background\' class="hide-if-customize"><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/themes.php?page=custom-background\'>Background</a></li></ul></div></li><li id=\'wp-admin-bar-customize\' class="hide-if-no-customize"><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/customize.php?url=https%3A%2F%2Flocalhost%3A32810%2F\'>Customize</a></li><li id=\'wp-admin-bar-comments\'><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/edit-comments.php\'><span class="ab-icon"></span><span class="ab-label awaiting-mod pending-count count-0" aria-hidden="true">0</span><span class="screen-reader-text comments-in-moderation-text">0 Comments in moderation</span></a></li><li id=\'wp-admin-bar-new-content\' class="menupop"><a class=\'ab-item\' aria-haspopup="true" href=\'https://localhost:32810/wp-admin/post-new.php\'><span class="ab-icon"></span><span class="ab-label">New</span></a><div class="ab-sub-wrapper"><ul id=\'wp-admin-bar-new-content-default\' class="ab-submenu"><li id=\'wp-admin-bar-new-post\'><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/post-new.php\'>Post</a></li><li id=\'wp-admin-bar-new-media\'><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/media-new.php\'>Media</a></li><li id=\'wp-admin-bar-new-page\'><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/post-new.php?post_type=page\'>Page</a></li><li id=\'wp-admin-bar-new-user\'><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/user-new.php\'>User</a></li></ul></div></li><li id=\'wp-admin-bar-edit\'><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/post.php?post=2&action=edit\'>Edit Page</a></li></ul><ul id=\'wp-admin-bar-top-secondary\' class="ab-top-secondary ab-top-menu"><li id=\'wp-admin-bar-search\' class="admin-bar-search"><div class="ab-item ab-empty-item" tabindex="-1"><form action="https://localhost:32810/" method="get" id="adminbarsearch"><input class="adminbar-input" name="s" id="adminbar-search" type="text" value="" maxlength="150" /><label for="adminbar-search" class="screen-reader-text">Search</label><input type="submit" class="adminbar-button" value="Search"/></form></div></li><li id=\'wp-admin-bar-my-account\' class="menupop with-avatar"><a class=\'ab-item\' aria-haspopup="true" href=\'https://localhost:32810/wp-admin/profile.php\'>Howdy, <span class="display-name">edwin</span><img alt=\'\' src=\'https://secure.gravatar.com/avatar/ec952efdfec3637c36a5eaa6ec92ff22?s=26&d=mm&r=g\' srcset=\'https://secure.gravatar.com/avatar/ec952efdfec3637c36a5eaa6ec92ff22?s=52&d=mm&r=g 2x\' class=\'avatar avatar-26 photo\' height=\'26\' width=\'26\' loading=\'lazy\'/></a><div class="ab-sub-wrapper"><ul id=\'wp-admin-bar-user-actions\' class="ab-submenu"><li id=\'wp-admin-bar-user-info\'><a class=\'ab-item\' tabindex="-1" href=\'https://localhost:32810/wp-admin/profile.php\'><img alt=\'\' src=\'https://secure.gravatar.com/avatar/ec952efdfec3637c36a5eaa6ec92ff22?s=64&d=mm&r=g\' srcset=\'https://secure.gravatar.com/avatar/ec952efdfec3637c36a5eaa6ec92ff22?s=128&d=mm&r=g 2x\' class=\'avatar avatar-64 photo\' height=\'64\' width=\'64\' loading=\'lazy\'/><span class=\'display-name\'>edwin</span></a></li><li id=\'wp-admin-bar-edit-profile\'><a class=\'ab-item\' href=\'https://localhost:32810/wp-admin/profile.php\'>Edit Profile</a></li><li id=\'wp-admin-bar-logout\'><a class=\'ab-item\' href=\'https://localhost:32810/wp-login.php?action=logout&_wpnonce=bd2856170c\'>Log Out</a></li></ul></div></li></ul> </div>
<a class="screen-reader-shortcut" href="https://localhost:32810/wp-login.php?action=logout&_wpnonce=bd2856170c">Log Out</a>
</div>
<a class="skip-link screen-reader-text" href="#site-content">Skip to the content</a>
<header id="site-header" class="header-footer-group" role="banner">
<div class="header-inner section-inner">
<div class="header-titles-wrapper">
<button class="toggle search-toggle mobile-search-toggle" data-toggle-target=".search-modal" data-toggle-body-class="showing-search-modal" data-set-focus=".search-modal .search-field" aria-expanded="false">
<span class="toggle-inner">
<span class="toggle-icon">
<svg class="svg-icon" aria-hidden="true" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" width="23" height="23" viewBox="0 0 23 23"><path d="M38.710696,48.0601792 L43,52.3494831 L41.3494831,54 L37.0601792,49.710696 C35.2632422,51.1481185 32.9839107,52.0076499 30.5038249,52.0076499 C24.7027226,52.0076499 20,47.3049272 20,41.5038249 C20,35.7027226 24.7027226,31 30.5038249,31 C36.3049272,31 41.0076499,35.7027226 41.0076499,41.5038249 C41.0076499,43.9839107 40.1481185,46.2632422 38.710696,48.0601792 Z M36.3875844,47.1716785 C37.8030221,45.7026647 38.6734666,43.7048964 38.6734666,41.5038249 C38.6734666,36.9918565 35.0157934,33.3341833 30.5038249,33.3341833 C25.9918565,33.3341833 22.3341833,36.9918565 22.3341833,41.5038249 C22.3341833,46.0157934 25.9918565,49.6734666 30.5038249,49.6734666 C32.7048964,49.6734666 34.7026647,48.8030221 36.1716785,47.3875844 C36.2023931,47.347638 36.2360451,47.3092237 36.2726343,47.2726343 C36.3092237,47.2360451 36.347638,47.2023931 36.3875844,47.1716785 Z" transform="translate(-20 -31)" /></svg> </span>
<span class="toggle-text">Search</span>
</span>
</button><!-- .search-toggle -->
<div class="header-titles">
<div class="site-title faux-heading"><a href="https://localhost:32810/">Test</a></div><div class="site-description">Just another WordPress site</div><!-- .site-description -->
</div><!-- .header-titles -->
<button class="toggle nav-toggle mobile-nav-toggle" data-toggle-target=".menu-modal" data-toggle-body-class="showing-menu-modal" aria-expanded="false" data-set-focus=".close-nav-toggle">
<span class="toggle-inner">
<span class="toggle-icon">
<svg class="svg-icon" aria-hidden="true" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" width="26" height="7" viewBox="0 0 26 7"><path fill-rule="evenodd" d="M332.5,45 C330.567003,45 329,43.4329966 329,41.5 C329,39.5670034 330.567003,38 332.5,38 C334.432997,38 336,39.5670034 336,41.5 C336,43.4329966 334.432997,45 332.5,45 Z M342,45 C340.067003,45 338.5,43.4329966 338.5,41.5 C338.5,39.5670034 340.067003,38 342,38 C343.932997,38 345.5,39.5670034 345.5,41.5 C345.5,43.4329966 343.932997,45 342,45 Z M351.5,45 C349.567003,45 348,43.4329966 348,41.5 C348,39.5670034 349.567003,38 351.5,38 C353.432997,38 355,39.5670034 355,41.5 C355,43.4329966 353.432997,45 351.5,45 Z" transform="translate(-329 -38)" /></svg> </span>
<span class="toggle-text">Menu</span>
</span>
</button><!-- .nav-toggle -->
</div><!-- .header-titles-wrapper -->
<div class="header-navigation-wrapper">
<nav class="primary-menu-wrapper" aria-label="Horizontal" role="navigation">
<ul class="primary-menu reset-list-style">
<li class="page_item page-item-2 current_page_item current-menu-item"><a href="https://localhost:32810/" aria-current="page">Sample Page</a></li>
</ul>
</nav><!-- .primary-menu-wrapper -->
<div class="header-toggles hide-no-js">
<div class="toggle-wrapper search-toggle-wrapper">
<button class="toggle search-toggle desktop-search-toggle" data-toggle-target=".search-modal" data-toggle-body-class="showing-search-modal" data-set-focus=".search-modal .search-field" aria-expanded="false">
<span class="toggle-inner">
<svg class="svg-icon" aria-hidden="true" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" width="23" height="23" viewBox="0 0 23 23"><path d="M38.710696,48.0601792 L43,52.3494831 L41.3494831,54 L37.0601792,49.710696 C35.2632422,51.1481185 32.9839107,52.0076499 30.5038249,52.0076499 C24.7027226,52.0076499 20,47.3049272 20,41.5038249 C20,35.7027226 24.7027226,31 30.5038249,31 C36.3049272,31 41.0076499,35.7027226 41.0076499,41.5038249 C41.0076499,43.9839107 40.1481185,46.2632422 38.710696,48.0601792 Z M36.3875844,47.1716785 C37.8030221,45.7026647 38.6734666,43.7048964 38.6734666,41.5038249 C38.6734666,36.9918565 35.0157934,33.3341833 30.5038249,33.3341833 C25.9918565,33.3341833 22.3341833,36.9918565 22.3341833,41.5038249 C22.3341833,46.0157934 25.9918565,49.6734666 30.5038249,49.6734666 C32.7048964,49.6734666 34.7026647,48.8030221 36.1716785,47.3875844 C36.2023931,47.347638 36.2360451,47.3092237 36.2726343,47.2726343 C36.3092237,47.2360451 36.347638,47.2023931 36.3875844,47.1716785 Z" transform="translate(-20 -31)" /></svg> <span class="toggle-text">Search</span>
</span>
</button><!-- .search-toggle -->
</div>
</div><!-- .header-toggles -->
</div><!-- .header-navigation-wrapper -->
</div><!-- .header-inner -->
<div class="search-modal cover-modal header-footer-group" data-modal-target-string=".search-modal">
<div class="search-modal-inner modal-inner">
<div class="section-inner">
<form role="search" aria-label="Search for:" method="get" class="search-form" action="https://localhost:32810/">
<label for="search-form-1">
<span class="screen-reader-text">Search for:</span>
<input type="search" id="search-form-1" class="search-field" placeholder="Search …" value="" name="s" />
</label>
<input type="submit" class="search-submit" value="Search" />
</form>
<button class="toggle search-untoggle close-search-toggle fill-children-current-color" data-toggle-target=".search-modal" data-toggle-body-class="showing-search-modal" data-set-focus=".search-modal .search-field" aria-expanded="false">
<span class="screen-reader-text">Close search</span>
<svg class="svg-icon" aria-hidden="true" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><polygon fill="" fill-rule="evenodd" points="6.852 7.649 .399 1.195 1.445 .149 7.899 6.602 14.352 .149 15.399 1.195 8.945 7.649 15.399 14.102 14.352 15.149 7.899 8.695 1.445 15.149 .399 14.102" /></svg> </button><!-- .search-toggle -->
</div><!-- .section-inner -->
</div><!-- .search-modal-inner -->
</div><!-- .menu-modal -->
</header><!-- #site-header -->
<div class="menu-modal cover-modal header-footer-group" data-modal-target-string=".menu-modal">
<div class="menu-modal-inner modal-inner">
<div class="menu-wrapper section-inner">
<div class="menu-top">
<button class="toggle close-nav-toggle fill-children-current-color" data-toggle-target=".menu-modal" data-toggle-body-class="showing-menu-modal" aria-expanded="false" data-set-focus=".menu-modal">
<span class="toggle-text">Close Menu</span>
<svg class="svg-icon" aria-hidden="true" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><polygon fill="" fill-rule="evenodd" points="6.852 7.649 .399 1.195 1.445 .149 7.899 6.602 14.352 .149 15.399 1.195 8.945 7.649 15.399 14.102 14.352 15.149 7.899 8.695 1.445 15.149 .399 14.102" /></svg> </button><!-- .nav-toggle -->
<nav class="mobile-menu" aria-label="Mobile" role="navigation">
<ul class="modal-menu reset-list-style">
<li class="page_item page-item-2 current_page_item current-menu-item"><div class="ancestor-wrapper"><a href="https://localhost:32810/" aria-current="page">Sample Page</a></div><!-- .ancestor-wrapper --></li>
</ul>
</nav>
</div><!-- .menu-top -->
<div class="menu-bottom">
</div><!-- .menu-bottom -->
</div><!-- .menu-wrapper -->
</div><!-- .menu-modal-inner -->
</div><!-- .menu-modal -->
<main id="site-content" role="main">
<article class="post-2 page type-page status-publish hentry" id="post-2">
<header class="entry-header has-text-align-center header-footer-group">
<div class="entry-header-inner section-inner medium">
<h1 class="entry-title">Sample Page</h1>
</div><!-- .entry-header-inner -->
</header><!-- .entry-header -->
<div class="post-inner thin ">
<div class="entry-content">
<p>This is an example page. It’s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:</p>
<blockquote class="wp-block-quote"><p>Hi there! I’m a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin’ caught in the rain.)</p></blockquote>
<p>…or something like this:</p>
<blockquote class="wp-block-quote"><p>The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.</p></blockquote>
<p>As a new WordPress user, you should go to <a href="https://localhost:32810/wp-admin/">your dashboard</a> to delete this page and create new pages for your content. Have fun!</p>
</div><!-- .entry-content -->
</div><!-- .post-inner -->
<div class="section-inner">
<div class="post-meta-wrapper post-meta-edit-link-wrapper"><ul class="post-meta"><li class="post-edit meta-wrapper"><span class="meta-icon"><svg class="svg-icon" aria-hidden="true" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><path fill="" d="M14.7272727,11.1763636 C14.7272727,10.7244943 15.0935852,10.3581818 15.5454545,10.3581818 C15.9973239,10.3581818 16.3636364,10.7244943 16.3636364,11.1763636 L16.3636364,15.5454545 C16.3636364,16.9010626 15.2646989,18 13.9090909,18 L2.45454545,18 C1.09893743,18 0,16.9010626 0,15.5454545 L0,4.09090909 C0,2.73530107 1.09893743,1.63636364 2.45454545,1.63636364 L6.82363636,1.63636364 C7.2755057,1.63636364 7.64181818,2.00267611 7.64181818,2.45454545 C7.64181818,2.9064148 7.2755057,3.27272727 6.82363636,3.27272727 L2.45454545,3.27272727 C2.00267611,3.27272727 1.63636364,3.63903975 1.63636364,4.09090909 L1.63636364,15.5454545 C1.63636364,15.9973239 2.00267611,16.3636364 2.45454545,16.3636364 L13.9090909,16.3636364 C14.3609602,16.3636364 14.7272727,15.9973239 14.7272727,15.5454545 L14.7272727,11.1763636 Z M6.54545455,9.33890201 L6.54545455,11.4545455 L8.66109799,11.4545455 L16.0247344,4.09090909 L13.9090909,1.97526564 L6.54545455,9.33890201 Z M14.4876328,0.239639906 L17.7603601,3.51236718 C18.07988,3.83188705 18.07988,4.34993113 17.7603601,4.669451 L9.57854191,12.8512692 C9.42510306,13.004708 9.21699531,13.0909091 9,13.0909091 L5.72727273,13.0909091 C5.27540339,13.0909091 4.90909091,12.7245966 4.90909091,12.2727273 L4.90909091,9 C4.90909091,8.78300469 4.99529196,8.57489694 5.14873082,8.42145809 L13.330549,0.239639906 C13.6500689,-0.0798799688 14.1681129,-0.0798799688 14.4876328,0.239639906 Z" /></svg></span><span class="meta-text"><a href="https://localhost:32810/wp-admin/post.php?post=2&action=edit">Edit <span class="screen-reader-text">Sample Page</span></a></span></li></ul><!-- .post-meta --></div><!-- .post-meta-wrapper -->
</div><!-- .section-inner -->
</article><!-- .post -->
</main><!-- #site-content -->
<div class="footer-nav-widgets-wrapper header-footer-group">
<div class="footer-inner section-inner">
<aside class="footer-widgets-outer-wrapper" role="complementary">
<div class="footer-widgets-wrapper">
<div class="footer-widgets column-one grid-item">
<div class="widget widget_search"><div class="widget-content"><form role="search" method="get" class="search-form" action="https://localhost:32810/">
<label for="search-form-2">
<span class="screen-reader-text">Search for:</span>
<input type="search" id="search-form-2" class="search-field" placeholder="Search …" value="" name="s" />
</label>
<input type="submit" class="search-submit" value="Search" />
</form>
</div></div><div class="widget widget_recent_comments"><div class="widget-content"><h2 class="widget-title subheading heading-size-3">Recent Comments</h2><ul id="recentcomments"></ul></div></div> </div>
<div class="footer-widgets column-two grid-item">
<div class="widget widget_archive"><div class="widget-content"><h2 class="widget-title subheading heading-size-3">Archives</h2>
<ul>
</ul>
</div></div><div class="widget widget_categories"><div class="widget-content"><h2 class="widget-title subheading heading-size-3">Categories</h2>
<ul>
<li class="cat-item-none">No categories</li> </ul>
</div></div><div class="widget widget_meta"><div class="widget-content"><h2 class="widget-title subheading heading-size-3">Meta</h2>
<ul>
<li><a href="https://localhost:32810/wp-admin/">Site Admin</a></li> <li><a href="https://localhost:32810/wp-login.php?action=logout&_wpnonce=bd2856170c">Log out</a></li>
<li><a href="https://localhost:32810/?feed=rss2">Entries feed</a></li>
<li><a href="https://localhost:32810/?feed=comments-rss2">Comments feed</a></li>
<li><a href="https://wordpress.org/">WordPress.org</a></li>
</ul>
</div></div> </div>
</div><!-- .footer-widgets-wrapper -->
</aside><!-- .footer-widgets-outer-wrapper -->
</div><!-- .footer-inner -->
</div><!-- .footer-nav-widgets-wrapper -->
<footer id="site-footer" role="contentinfo" class="header-footer-group">
<div class="section-inner">
<div class="footer-credits">
<p class="footer-copyright">©
2020 <a href="https://localhost:32810/">Test</a>
</p><!-- .footer-copyright -->
<p class="powered-by-wordpress">
<a href="https://wordpress.org/">
Powered by WordPress </a>
</p><!-- .powered-by-wordpress -->
</div><!-- .footer-credits -->
<a class="to-the-top" href="#site-header">
<span class="to-the-top-long">
To the top <span class="arrow" aria-hidden="true">↑</span> </span><!-- .to-the-top-long -->
<span class="to-the-top-short">
Up <span class="arrow" aria-hidden="true">↑</span> </span><!-- .to-the-top-short -->
</a><!-- .to-the-top -->
</div><!-- .section-inner -->
</footer><!-- #site-footer -->
<script src=\'https://localhost:32810/wp-includes/js/hoverintent-js.min.js?ver=2.2.1\' id=\'hoverintent-js-js\'></script>
<script src=\'https://localhost:32810/wp-includes/js/admin-bar.js?ver=5.6-alpha-48683-src\' id=\'admin-bar-js\'></script>
<script src=\'https://localhost:32810/wp-includes/js/wp-embed.js?ver=5.6-alpha-48683-src\' id=\'wp-embed-js\'></script>
<script>
/(trident|msie)/i.test(navigator.userAgent) && document.getElementById && window.addEventListener && window.addEventListener("hashchange", function() {
var t, e = location.hash.substring(1);
/^[A-z0-9_-]+$/.test(e) && (t = document.getElementById(e)) && (/^(?:a|select|input|button|textarea)$/i.test(t.tagName) || (t.tabIndex = -1), t.focus())
}, !1);
</script>
</body>
</html>
';
$subst = "<$1 nonce=\"Test\" $2>";
$result = preg_replace($re, $subst, $str);
echo "The result of the substitution is ".$result;
Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for PHP, please visit: http://php.net/manual/en/ref.pcre.php