$re = '/s*<div\sid=\"qualifiedBuybox[\s\S]*?<form[\s\S]*?<input\stype=\"hidden\"\sid=\"ASIN[\s\S]*?value=\"([\s\S]*?)\"/m';
$str = '<div id="qualifiedBuybox" class="feature" data-feature-name="qualifiedBuybox" data-cel-widget="qualifiedBuybox">
<div class="a-section">
<form method="post" id="addToCart" action="/gp/product/handle-buy-box/ref=dp_start-bbf_1_glance" class="a-content">
<input type="hidden" id="session-id" name="session-id" value="142-2628732-4117711">
<input type="hidden" id="ASIN" name="ASIN" value="B01BGZ9YO0">
<input type="hidden" id="offerListingID" name="offerListingID" value="id13hzz%2BOXb66f1F%2BvehpuafDn%2B4%2FiG8paELJ%2Fs2zoxSsZHxjLjr4HyZuUmeiVS%2BBNqdOAwTE%2BUn%2FuWFSsWBHqvYg0zcI8OZwpRInHYyD5wWm3v3y18fYJRIjPnK0V6GlOmvbACu62Ih1VXzOZ0xcQ%3D%3D">
<input type="hidden" id="isMerchantExclusive" name="isMerchantExclusive" value="0">
<input type="hidden" id="merchantID" name="merchantID" value="ASB94X3HUG52Q">
<input type="hidden" id="isAddon" name="isAddon" value="0">
<input type="hidden" id="nodeID" name="nodeID" value="228013">
<input type="hidden" id="sellingCustomerID" name="sellingCustomerID" value="ASB94X3HUG52Q">
<input type="hidden" id="qid" name="qid" value="">
<input type="hidden" id="sr" name="sr" value="">
<input type="hidden" id="storeID" name="storeID" value="hi">
<input type="hidden" id="tagActionCode" name="tagActionCode" value="228013">
<input type="hidden" id="viewID" name="viewID" value="glance">
<input type="hidden" id="rebateId" name="rebateId" value="">
<input type="hidden" id="rsid" name="rsid" value="142-2628732-4117711">
<input type="hidden" id="sourceCustomerOrgListID" name="sourceCustomerOrgListID" value="">
<input type="hidden" id="sourceCustomerOrgListItemID" name="sourceCustomerOrgListItemID" value="">
<input type="hidden" name="wlPopCommand" value="">
<div class="a-box-group">
<div class="a-box a-last"><div class="a-box-inner">
<div class="a-section a-spacing-none a-padding-none">
<div id="priceInsideBuyBox_feature_div" class="feature" data-feature-name="priceInsideBuyBox" data-cel-widget="priceInsideBuyBox_feature_div">
<div class="a-section">
<span id="price_inside_buybox" class="a-size-medium a-color-price">
$14.30
</span>
</div>
</div>
<div id="desktop_qualifiedBuyBox" class="feature" data-feature-name="desktop_qualifiedBuyBox" data-cel-widget="desktop_qualifiedBuyBox">
<div class="a-section a-spacing-none a-padding-none">
<div id="invitePlatform_feature_div" class="feature" data-feature-name="invitePlatform" data-cel-widget="invitePlatform_feature_div">
</div>
<div id="shippingMessageInsideBuyBox_feature_div" class="feature" data-feature-name="shippingMessageInsideBuyBox" data-cel-widget="shippingMessageInsideBuyBox_feature_div">
<div class="a-section">
<div class="a-row">
<div class="a-column a-span12 a-text-left a-spacing-top-micro">
<span id="priceBadging_feature_div" class="feature" data-feature-name="priceBadging" data-cel-widget="priceBadging_feature_div">
<span id="priceBadging_feature_div" class="feature" data-feature-name="priceBadging" data-cel-widget="priceBadging_feature_div">
<i class="a-icon a-icon-prime"><span class="a-icon-alt">Free Shipping for Prime Members</span></i>
<span class="a-size-base a-color-base"></span>
</span>
</span>
</div>
</div>
</div>
</div>
<div id="dpFastTrackInsideBuyBox_feature_div" class="feature" data-feature-name="dpFastTrackInsideBuyBox" data-cel-widget="dpFastTrackInsideBuyBox_feature_div">
<div class="a-section a-spacing-mini a-spacing-top-micro">
<div class="a-row">
<div class="a-column a-span12 a-text-left">
</div>
</div>
</div>
</div>
<div id="promiseBasedBadgeInsideBuyBox_feature_div" class="feature" data-feature-name="promiseBasedBadgeInsideBuyBox" data-cel-widget="promiseBasedBadgeInsideBuyBox_feature_div">
<div class="a-section a-spacing-mini">
<div class="a-row">
<div class="a-column a-span12 a-text-left">
<div id="fast-track" class="a-section a-spacing-none">
<input type="hidden" id="ftSelectAsin" value="B01BGZ9YO0">
<input type="hidden" id="ftSelectMerchant" value="ASB94X3HUG52Q">
<div id="fast-track-message" class="a-section a-spacing-none">
<div class="a-section a-spacing-none">
<div id="delivery-message" class="a-section a-spacing-none">
FREE Delivery by <b>Tuesday</b>
<br>
<span class="a-color-secondary">
if you order within <span id="ftCountdown" class="ftCountdownClass">6 hrs 55 mins</span>.
</span>
<a href="/gp/help/customer/display.html/ref=ftinfo_dp_?ie=UTF8&nodeId=3510241&pop-up=1" target="AmazonHelp" onclick="return amz_js_PopWin(\'/gp/help/customer/display.html/ref=ftinfo_dp_?ie=UTF8&nodeId=3510241&pop-up=1\',\'AmazonHelp\',\'width=550,height=600,resizable=1,scrollbars=1,toolbar=1,status=1\');">Details</a>
</div>
</div>
<script type="text/javascript">
function fastTrackCountDown(secondsLeft, messageSectionId) {
var sectionId = messageSectionId;
var FT_showAndInCountdown = false;
var FT_DayString = "day";
var FT_DaysString = "days";
var FT_HourString = "hr";
var FT_HoursString = "hrs";
var FT_MinuteString = "min";
var FT_MinutesString = "mins";
var FT_AndString = "and";
var FT_startedWithHour = new Date().getHours();
var FT_givenSeconds, FT_actualSeconds;
var timerId;
function getElementsByClassNameCustom(className) {
var selectedElements = [];
if (document.querySelectorAll) {
var sectionIdElements = document.querySelectorAll("#" + sectionId);
for (index = 0; index < sectionIdElements.length; ++index) {
var elements = sectionIdElements[index].querySelectorAll("." + className);
for(var i = 0; elements && i < elements.length; i++) {
selectedElements.push(elements[i]);
}
}
}
return selectedElements;
}
var FT_CurrentDisplayMin;
var clientServerTimeDrift;
var firstTimeUpdate = true;
var countdownElements = getElementsByClassNameCustom("ftCountdownClass");
if (countdownElements.length < 1 && document.getElementById(sectionId) && document.getElementById("ftCountdown")) {
countdownElements.push(document.getElementById("ftCountdown"));
}
function getTimeRemainingString( days, hours, minutes )
{
hours = (days * 24) + hours;
var hourString = ( hours == 1 ? FT_HourString : FT_HoursString );
var minuteString = ( minutes == 1 ? FT_MinuteString : FT_MinutesString );
if (hours == 0) {
return minutes + " " + minuteString;
}
if (minutes == 0) {
return hours + " " + hourString;
}
if (FT_showAndInCountdown) {
return hours + " " + hourString + " " + FT_AndString + " " + minutes + " " + minuteString;
} else {
return hours + " " + hourString + " " + minutes + " " + minuteString;
}
}
function hideAllFastTrackComponents() {
if (document.querySelectorAll) {
var fastTrackComponents = document.querySelectorAll("#fast-track");
var index;
var shouldHideSections = false;
if (fastTrackComponents) {
for (index = 0; index < fastTrackComponents.length; ++index) {
if (fastTrackComponents[index].querySelector("#" + sectionId)) {
fastTrackComponents[index].style.display = "none";
} else {
shouldHideSections = true;
}
}
if (shouldHideSections) {
var sectionComponents = document.querySelectorAll("#" + sectionId);
if (sectionComponents) {
for (index = 0; index < sectionComponents.length; ++index) {
sectionComponents[index].style.display = "none";
}
}
}
}
}
}
function FT_displayCountdown(forceUpdate)
{
var FT_remainSeconds = FT_givenSeconds - FT_actualSeconds;
//for components having outer div "fast-track" hide that component else hide the message sectionId.
if (FT_remainSeconds < 1) {
hideAllFastTrackComponents();
}
var FT_secondsPerDay = 24 * 60 * 60;
var FT_daysLong = FT_remainSeconds / FT_secondsPerDay;
var FT_days = Math.floor(FT_daysLong);
var FT_hoursLong = (FT_daysLong - FT_days) * 24;
var FT_hours = Math.floor(FT_hoursLong);
var FT_minsLong = (FT_hoursLong - FT_hours) * 60;
var FT_mins = Math.floor(FT_minsLong);
var FT_secsLong = (FT_minsLong - FT_mins) * 60;
var FT_secs = Math.floor(FT_secsLong);
timerId = setTimeout(FT_getTime, 1000);
var ftCountdown = getTimeRemainingString( FT_days, FT_hours, FT_mins );
if (countdownElements.length) {
if (FT_CurrentDisplayMin != FT_mins || forceUpdate || firstTimeUpdate) {
var i = 0, countdownElement;
while (countdownElement = countdownElements[i++]) {
countdownElement.innerHTML = ftCountdown;
}
FT_CurrentDisplayMin = FT_mins;
firstTimeUpdate = false;
}
}
}
function FT_getCountdown(secondsLeft)
{
var FT_currentTime = new Date();
var FT_currentHours = FT_currentTime.getHours();
var FT_currentMins = FT_currentTime.getMinutes();
var FT_currentSecs = FT_currentTime.getSeconds();
FT_givenSeconds = FT_currentHours * 3600 + FT_currentMins * 60 + FT_currentSecs;
FT_givenSeconds += secondsLeft;
FT_getTime();
}
function FT_getTime()
{
var FT_newCurrentTime = new Date();
var FT_actualHours = FT_newCurrentTime.getHours();
if (FT_startedWithHour > FT_actualHours) {
FT_actualHours += 24;
}
var FT_actualMins = FT_newCurrentTime.getMinutes();
var FT_actualSecs = FT_newCurrentTime.getSeconds();
FT_actualSeconds = FT_actualHours * 3600 + FT_actualMins * 60 + FT_actualSecs;
FT_displayCountdown();
}
FT_getCountdown(secondsLeft);
return {
stopTimer : function() {
clearTimeout(timerId);
}
};
}
</script>
<script type="text/javascript">
P.when("A", "jQuery").execute(function(A, $) {
var pageState = A.state(\'ftPageState\');
if (typeof pageState === \'undefined\') {
pageState = {};
}
if (pageState["delivery-message"]) {
pageState["delivery-message"].stopTimer();
}
pageState["delivery-message"] = new fastTrackCountDown(29727,"delivery-message");
if(29727 > 0) {
if (pageState["upsell-message"]) {
pageState["upsell-message"].stopTimer();
}
pageState["upsell-message"] = new fastTrackCountDown(29727,"upsell-message");
}
if(0 > 0) {
if (pageState["amazon-day-message"]) {
pageState["amazon-day-message"].stopTimer();
}
pageState["amazon-day-message"] = new fastTrackCountDown(0,"amazon-day-message");
}
A.state(\'ftPageState\', pageState);
});
</script>
</div>
<script type="text/javascript">
var LUXQuantityRefreshEnabled = false;
P.when("LUXDPQuantityRefresh").execute(function() {
LUXQuantityRefreshEnabled = true;
});
P.when("A", "jQuery").execute(function(A, $) {
$("#quantity").live("change", function (event) {
// Let LocationUX handle quantity refreshes if it\'s enabled.
if (LUXQuantityRefreshEnabled) {
return;
}
if (event.updateFTOnQuantityChange) {
return;
}
event.updateFTOnQuantityChange = 1;
var quantity = $(this).val();
var asin = $("#ftSelectAsin").val();
var merchantId = $("#ftSelectMerchant").val();
if (!asin || !merchantId) {
return;
}
var params = [];
params.push("asin=" + asin);
params.push("quantity=" + quantity);
params.push("merchantId=" + merchantId);
$.ajax({
type: "POST",
url: "/gp/product/features/dp-fast-track/udp-ajax-handler/get-quantity-update-message.html?ie=UTF8",
contentType: \'application/x-www-form-urlencoded;charset=utf-8\',
data: params.join(\'&\'),
dataType: "html",
success: function(objResponse) {
if (objResponse != null && objResponse != "") {
$("#fast-track-message").replaceWith(objResponse);
}
}
});
return;
});
});
</script>
</div>
</div>
</div>
</div>
</div>
<div id="addOnMessage_feature_div" class="feature" data-feature-name="addOnMessage" data-cel-widget="addOnMessage_feature_div">
</div>
<div id="availabilityInsideBuyBox_feature_div" class="feature" data-feature-name="availabilityInsideBuyBox" data-cel-widget="availabilityInsideBuyBox_feature_div">
<div class="a-section a-spacing-top-micro">
<div id="availability" class="a-section a-spacing-none">
<span class="a-size-medium a-color-success">
In Stock.
</span>
</div>
<div class="a-section a-spacing-none">
</div>
</div>
</div>
<div id="quantityRelocate_feature_div" class="feature" data-feature-name="quantityRelocate" data-cel-widget="quantityRelocate_feature_div">
</div>
<div id="soldByThirdPartyRelocate_feature_div" class="feature" data-feature-name="soldByThirdPartyRelocate" data-cel-widget="soldByThirdPartyRelocate_feature_div">
</div>
<div id="addToCart_feature_div" class="feature" data-feature-name="addToCart" data-cel-widget="addToCart_feature_div">
</div>
<div id="buyNow_feature_div" class="feature" data-feature-name="buyNow" data-cel-widget="buyNow_feature_div">
</div>
<div id="shipsFromSoldByInsideBuyBox_feature_div" class="feature" data-feature-name="shipsFromSoldByInsideBuyBox" data-cel-widget="shipsFromSoldByInsideBuyBox_feature_div">
<div class="a-section a-spacing-medium">
<div id="merchant-info" class="a-section a-spacing-mini">
Sold by <a href="/gp/help/seller/at-a-glance.html/ref=dp_merchant_link?ie=UTF8&seller=ASB94X3HUG52Q&isAmazonFulfilled=1">Everything u Need</a> and <a href="/gp/help/customer/display.html?ie=UTF8&ref=dp_fulfillment&nodeId=106096011" id="SSOFpopoverLink" class="a-declarative">Fulfilled by Amazon</a>.
<span class="">
Gift-wrap available.
</span>
</div>
<div class="a-popover-preload" id="a-popover-SSOFpopoverLink-content">
<p>Fulfillment by Amazon (FBA) is a service we offer sellers that lets them store their products in Amazon\'s fulfillment centers, and we directly pack, ship, and provide customer service for these products. Something we hope you\'ll especially enjoy: <em>FBA items qualify for FREE Shipping and Amazon Prime.</em></p>
<p>If you\'re a seller, Fulfillment by Amazon can help you increase your sales. We invite you to <a class="a-link-normal" target="_blank" rel="noopener" href="/gp/seller/fba/fulfillment-by-amazon.html?ie=UTF8&ld=AZFBADP&ref=dp_fba_pop">
learn more about Fulfillment by Amazon
</a>.</p>
</div>
<script type="text/javascript">
P.when("A", "jQuery", "a-popover", "ready").execute(function(A, $, popover) {
"use strict";
var title = "What is Fulfillment by Amazon?";
var triggerId = "#SSOFpopoverLink";
var contentId = "SSOFpopoverLink-content";
var options = {
"header": title,
"name": contentId,
"activate": "onclick",
"width": 430,
"position": "triggerBottom"
};
var $trigger = $(triggerId);
var instance = popover.create($trigger, options);
});
</script>
</div>
</div>
<div id="originalPackagingMessageInsideBuyBox_feature_div" class="feature" data-feature-name="originalPackagingMessageInsideBuyBox" data-cel-widget="originalPackagingMessageInsideBuyBox_feature_div">
</div>
<div id="tradeInInstantSavings_feature_div" class="feature" data-feature-name="tradeInInstantSavings" data-cel-widget="tradeInInstantSavings_feature_div">
</div>
<div id="quantityLayoutHigh_feature_div" class="feature" data-feature-name="quantityLayoutHigh" data-cel-widget="quantityLayoutHigh_feature_div">
<div class="a-row a-spacing-mini">
<div class="a-column a-span12 a-text-center a-spacing-small">
<div id="selectQuantity" class="a-section a-spacing-none a-padding-none">
<span class="a-declarative" data-action="quantity-dropdown" data-quantity-dropdown="{}">
<div class="a-row a-spacing-base">
<div class="a-column a-span12 a-text-left">
<span class="a-dropdown-container"><label for="quantity" class="a-native-dropdown">Qty:</label><select name="quantity" autocomplete="off" id="quantity" tabindex="-1" class="a-native-dropdown">
<option value="1" selected="">1
</option>
<option value="2">2
</option>
<option value="3">3
</option>
<option value="4">4
</option>
<option value="5">5
</option>
<option value="6">6
</option>
<option value="7">7
</option>
<option value="8">8
</option>
<option value="9">9
</option>
<option value="10">10
</option>
<option value="11">11
</option>
<option value="12">12
</option>
<option value="13">13
</option>
<option value="14">14
</option>
<option value="15">15
</option>
<option value="16">16
</option>
<option value="17">17
</option>
<option value="18">18
</option>
<option value="19">19
</option>
<option value="20">20
</option>
<option value="21">21
</option>
<option value="22">22
</option>
<option value="23">23
</option>
<option value="24">24
</option>
<option value="25">25
</option>
<option value="26">26
</option>
<option value="27">27
</option>
<option value="28">28
</option>
<option value="29">29
</option>
<option value="30">30
</option>
</select><span tabindex="-1" class="a-button a-button-dropdown a-button-small" id="a-autoid-2" style="min-width: 0%;"><span class="a-button-inner"><span class="a-button-text a-declarative" data-action="a-dropdown-button" role="button" tabindex="0" aria-hidden="true" id="a-autoid-2-announce"><span class="a-dropdown-label">Qty:</span><span class="a-dropdown-prompt">1
</span></span><i class="a-icon a-icon-dropdown"></i></span></span></span>
</div>
</div>
</span>
</div>
</div>
</div>
</div>
<div id="snsOptIn_feature_div" class="feature" data-feature-name="snsOptIn" data-cel-widget="snsOptIn_feature_div">
</div>
<div id="bbop_feature_div" class="feature" data-feature-name="bbop" data-cel-widget="bbop_feature_div">
</div>
<div id="businessPricing_feature_div" class="feature" data-feature-name="businessPricing" data-cel-widget="businessPricing_feature_div">
</div>
<div id="soldByThirdParty_feature_div" class="feature" data-feature-name="soldByThirdParty" data-cel-widget="soldByThirdParty_feature_div">
</div>
<div id="scheduledDelivery_feature_div" class="feature" data-feature-name="scheduledDelivery" data-cel-widget="scheduledDelivery_feature_div">
</div>
<div id="mbb_feature_div" class="feature" data-feature-name="mbb" data-cel-widget="mbb_feature_div">
</div>
<div id="quantityLayoutLow_feature_div" class="feature" data-feature-name="quantityLayoutLow" data-cel-widget="quantityLayoutLow_feature_div">
</div>
<div id="simpleBundle_feature_div" class="feature" data-feature-name="simpleBundle" data-cel-widget="simpleBundle_feature_div">
</div>
<div id="simpleBundleEU_feature_div" class="feature" data-feature-name="simpleBundleEU" data-cel-widget="simpleBundleEU_feature_div">
</div>
<div id="asg_feature_div" class="feature" data-feature-name="asg" data-cel-widget="asg_feature_div">
</div>
<div id="addToCart_feature_div" class="feature" data-feature-name="addToCart" data-cel-widget="addToCart_feature_div">
<div id="hm-bbStock" class="olpOffer" style="margin-top:-10px; padding-bottom:20px; font-size:18px !important; text-align:center; font-weight:bold; color:brown;"><input name="offeringID.1" type="hidden" value="id13hzz%2BOXb66f1F%2BvehpuafDn%2B4%2FiG8paELJ%2Fs2zoxSsZHxjLjr4HyZuUmeiVS%2BBNqdOAwTE%2BUn%2FuWFSsWBHqvYg0zcI8OZwpRInHYyD5wWm3v3y18fYJRIjPnK0V6GlOmvbACu62Ih1VXzOZ0xcQ%3D%3D"><div class="olpOfferPrice" data-hm_oid="id13hzz%2BOXb66f1F%2BvehpuafDn%2B4%2FiG8paELJ%2Fs2zoxSsZHxjLjr4HyZuUmeiVS%2BBNqdOAwTE%2BUn%2FuWFSsWBHqvYg0zcI8OZwpRInHYyD5wWm3v3y18fYJRIjPnK0V6GlOmvbACu62Ih1VXzOZ0xcQ%3D%3D" data-hm_mid="ASB94X3HUG52Q"><br class="temp-stock"><i class="temp-stock quantity-on-stock"><small>241 item(s) in stock<br></small></i></div></div><div class="a-button-stack">
<span id="submit.add-to-cart" class="a-button a-spacing-small a-button-primary a-button-icon"><span class="a-button-inner"><i class="a-icon a-icon-cart"></i><input id="add-to-cart-button" name="submit.add-to-cart" title="Add to Shopping Cart" data-hover="Select <b>__dims__</b> from the left<br> to add to Shopping Cart" class="a-button-input" type="submit" value="Add to Cart" aria-labelledby="submit.add-to-cart-announce"><span id="submit.add-to-cart-announce" class="a-button-text" aria-hidden="true">Add to Cart</span></span></span>
</div>
</div>
<div id="buyNow_feature_div" class="feature" data-feature-name="buyNow" data-cel-widget="buyNow_feature_div">
<div class="a-button-stack">
<div id="buyNow" class="a-section a-spacing-base">
<div id="turboState" class="a-section a-spacing-none a-padding-none">
<script type="a-state" data-a-state="{"key":"turbo-checkout-page-state"}">{"turboWeblab":"RCX_CHECKOUT_TURBO_DESKTOP_PRIME_87783","strings":{"TURBO_CHECKOUT_HEADER":"Buy now: Eyelet Grommet Pliers Setting, Steel Hole Punch Eyelet Setter Kit - For Leather, Canvas, All Fabrics Men & Women Clothes, Shoes, Belts, Bags, Crafts - 100 Free Gold eyelets/grommets - By Katzco","TURBO_LOADING_TEXT":"Loading your order summary"},"inputs":{"a":"B01BGZ9YO0","quantity":"1","requestId":"RKT3R02NKS8F8TFPKE7B","oid":"id13hzz%2BOXb66f1F%2BvehpuafDn%2B4%2FiG8paELJ%2Fs2zoxSsZHxjLjr4HyZuUmeiVS%2BBNqdOAwTE%2BUn%2FuWFSsWBHqvYg0zcI8OZwpRInHYyD5wWm3v3y18fYJRIjPnK0V6GlOmvbACu62Ih1VXzOZ0xcQ%3D%3D","sessionId":"142-2628732-4117711","addressId":"add-new"},"configurations":{"isSignInEnabled":true,"initiateSelector":"#buy-now-button","prefetchEnabled":true},"buttonID":"buy-now","eligibility":{"prime":true,"canOneClick":false,"preOrder":false,"stockOnHand":241,"isEligible":false,"primeShipping":true,"customerDefaults":true,"canBuyNow":true},"turboWeblabTreatment":"T2","timeout":"5000"}</script>
</div>
<span class="a-declarative" data-action="a-modal" data-a-modal="{"name":"turbo"}" id="turbo-checkout-modal"></span>
<span id="submit.buy-now" class="a-button a-button-icon a-button-oneclick onml-buy-now-button">
<span class="a-button-inner">
<i class="a-icon a-icon-buynow"></i>
<input id="buy-now-button" name="submit.buy-now" class="a-button-input" type="submit">
<span id="submit.buy-now-announce" class="a-button-text" aria-hidden="true">Buy Now</span>
</span>
</span>
</div>
</div>
</div>
<div id="highValueMessaging_feature_div" class="feature" data-feature-name="highValueMessaging" data-cel-widget="highValueMessaging_feature_div">
</div>
<div id="oneClick_feature_div" class="feature" data-feature-name="oneClick" data-cel-widget="oneClick_feature_div">
<div id="OneClickBox" class="a-button-stack">
<div id="oneClickSignIn" class="a-section a-spacing-base a-text-center">
</div>
</div>
</div>
<div id="makoGiftingOption" class="feature" data-feature-name="makoGiftingOption" data-cel-widget="makoGiftingOption">
</div>
<div id="accessoryUpsellAmabot_feature_div" class="feature" data-feature-name="accessoryUpsellAmabot" data-cel-widget="accessoryUpsellAmabot_feature_div">
</div>
<div id="accessoryUpsellBtf_feature_div" class="feature" data-feature-name="accessoryUpsellBtf" data-cel-widget="accessoryUpsellBtf_feature_div">
</div>
<div id="glowContextualIngressPt_feature_div" class="feature" data-feature-name="glowContextualIngressPt" data-cel-widget="glowContextualIngressPt_feature_div">
<hr class="a-divider-normal">
<span class="a-declarative" data-action="dpContextualIngressPt" data-dpcontextualingresspt="{}">
<a class="a-link-normal" href="#">
<div class="a-row a-spacing-mini">
<div class="a-column a-span12 a-text-left">
<div id="contextualIngressPt">
<div id="contextualIngressPtPin"></div>
<span id="contextualIngressPtLabel" class="a-size-small">
<div id="contextualIngressPtLabel_deliveryShortLine"><span>Deliver to </span><span>Brooklyn 11235</span></div>
</span>
</div>
</div>
</div>
</a>
</span>
</div>
<div id="unifiedLocation_feature_div" class="feature" data-feature-name="unifiedLocation" data-cel-widget="unifiedLocation_feature_div">
</div>
</div>
</div>
<div id="digitalDashHighProminence_feature_div" class="feature" data-feature-name="digitalDashHighProminence" data-cel-widget="digitalDashHighProminence_feature_div">
</div>
<div id="addToWishlist_feature_div" class="feature" data-feature-name="addToWishlist" data-cel-widget="addToWishlist_feature_div">
<hr class="a-spacing-base a-divider-normal">
<script type="a-state" data-a-state="{"key":"createInfo"}">{"isHorizonte":true}</script>
<script type="a-state" data-a-state="{"key":"wishlistDPState"}">{"createHeader":"Create a List","addHeader":"Add to List","addWidth":"900","vendorId":"website.wishlist.detail.add","createHeight":"auto","streaming":"1","isFirstCreate":false,"createWidth":"650","addUrl":"/gp/registry/huc/add-item-ajax.html?ie=UTF8","addHeight":"700","action":"add","createUrl":"/hz/wishlist/create?ie=UTF8&isPopover=1&isCreateAndAdd=1","firstcreateHeader":"Add to your list"}</script>
<div class="a-popover-preload" id="a-popover-reg-create">
<div id="popover-spinner" class="a-section">
<div class="a-section a-padding-large a-popover-loading"></div>
</div>
<div id="WLHUC_result" class="a-section a-hidden wlAddCreatePop"></div>
<div id="WLNEW_main" class="a-section a-hidden wlAddCreatePop"></div>
</div>
<div class="a-popover-preload" id="a-popover-firstAddCreateToWishlist">
<div id="popover-spinner" class="a-section">
<div class="a-section a-padding-large a-popover-loading"></div>
</div>
<div id="WLHUC_result" class="a-section a-hidden wlAddCreatePop"></div>
<div id="WLNEW_main" class="a-section a-hidden wlAddCreatePop"></div>
</div>
<div id="wishlistButtonStack" class="a-button-stack">
<div id="add-to-wishlist-button-group" data-hover="<!-- If PartialItemStateWeblab is true then, showing different Add-to-wish-list tool-tip message which is consistent with Add-to-Cart tool tip message. -->
To Add to Your List, choose from options to the left" class="a-button-group a-declarative a-spacing-none" data-action="a-button-group" role="radiogroup">
<span id="wishListMainButton" class="a-button a-button-group-first a-spacing-none a-declarative" role="radio" aria-labelledby="wishListMainButton-announce" aria-posinset="1" aria-setsize="2" data-action="add-wishlist-declarative"><span class="a-button-inner"><input id="add-to-wishlist-button-submit" name="submit.add-to-registry.wishlist" title="Add to List" data-action="atwl-splitbutton-main" data-hover="<!-- If PartialItemStateWeblab is true then, showing different Add-to-wish-list tool-tip message which is consistent with Add-to-Cart tool tip message. -->
To Add to Your List, choose from options to the left" class="a-button-input a-declarative" type="submit" aria-labelledby="wishListMainButton-announce"><span id="wishListMainButton-announce" class="a-button-text a-text-left" aria-hidden="true">
Add to List
<span class="a-declarative" data-action="a-modal" data-a-modal="{"padding":"none","cache":"false","name":"reg-create","width":"900","header":"Add to List"}" id="add-wishlist-declarative"></span>
</span></span></span>
<span id="wishListDropDown" class="a-button a-button-dropdown a-button-group-last a-spacing-none wishlist-dropdown-button" role="radio" aria-labelledby="wishListDropDown-announce" aria-posinset="2" aria-setsize="2"><span class="a-button-inner"><i class="a-icon a-icon-dropdown"></i><input id="add-to-wishlist-button" name="submit.add-to-registry.wishlist" data-action="atwl-splitbutton-arrow" data-type="wishlist" data-ux-click="" class="a-button-input a-declarative" type="submit" aria-labelledby="wishListDropDown-announce"><span id="wishListDropDown-announce" class="a-button-text a-text-left" aria-hidden="true">
</span></span></span>
</div>
<div id="atwl-inline-spinner" class="a-section a-hidden">
<div class="a-spinner-wrapper"><span class="a-spinner a-spinner-medium"></span></div>
</div>
<div id="atwl-inline" class="a-section a-spacing-none a-hidden">
<div class="a-row a-text-ellipsis">
<div id="atwl-inline-sucess-msg" class="a-box a-alert-inline a-alert-inline-success"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content">
<span class="a-size-base" role="alert">
Added to
</span>
</div></div></div>
<a id="atwl-inline-link" class="a-link-normal" href="/gp/registry/wishlist/">
<span id="atwl-inline-link-text" class="a-size-base" role="alert">
</span>
</a>
</div>
</div>
<div id="atwl-inline-error" class="a-section a-hidden">
<div class="a-box a-alert-inline a-alert-inline-error" aria-live="assertive" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content">
<span id="atwl-inline-error-msg" class="a-size-base" role="alert">
Unable to add item to List. Please try again.
</span>
</div></div></div>
</div>
<div id="atwl-dd-spinner-holder" class="a-section a-hidden">
<div class="a-row a-dropdown">
<div class="a-section a-popover-wrapper">
<div class="a-section a-text-center a-popover-inner">
<div class="a-box a-popover-loading"><div class="a-box-inner">
</div></div>
</div>
</div>
</div>
</div>
<div id="atwl-dd-error-holder" class="a-section a-hidden">
<div class="a-section a-dropdown">
<div class="a-section a-popover-wrapper">
<div class="a-section a-spacing-base a-padding-base a-text-left a-popover-inner">
<h3 class="a-color-error">
Sorry, there was a problem.
</h3>
<span>
There was an error retrieving your Wish Lists. Please try again.
</span>
</div>
</div>
</div>
</div>
<div id="atwl-dd-unavail-holder" class="a-section a-hidden">
<div class="a-section a-dropdown">
<div class="a-section a-popover-wrapper">
<div class="a-section a-spacing-base a-padding-base a-text-left a-popover-inner">
<h3 class="a-color-error">
Sorry, there was a problem.
</h3>
<span>
List unavailable.
</span>
</div>
</div>
</div>
</div>
<script type="a-state" data-a-state="{"key":"atwl"}">{"showInlineLink":false,"hzPopover":true,"wishlistButtonId":"add-to-wishlist-button","dropDownHtml":"","inlineJsFix":false,"wishlistButtonSubmitId":"add-to-wishlist-button-submit","maxAjaxFailureCount":"3","asin":"B01BGZ9YO0"}</script>
<script type="a-state" data-a-state="{"key":"atbrState"}">{"showBabyRegSuccessModal":false,"addSuccessModalHeader":"Added to your Baby Registry","vendorId":"website.huc.shoveler","sessionId":"142-2628732-4117711","hasBabyReg":false}</script>
<input type="hidden" name="" value="true" id="is-fully-selected-baby-reg">
</div>
<script type="a-state" data-a-state="{"key":"popoverState"}">{"formId":"addToCart","showWishListDropDown":true,"babyRegistryId":"add-to-registry-baby-button","showBabyRegDropdown":false,"wishlistPopoverWidth":206,"isAddToWishListDropDownAuiEnabled":true,"showPopover":true}</script>
<script type="text/javascript">(function(f) {f(window.P._namespace("list-CF-register-js"));}(function(P) {
"use strict";
window.P.now(\'atwl-cf\').execute(function (module) {
var isRegistered = (typeof module !== \'undefined\');
if (!isRegistered) {
window.P.register(\'atwl-cf\');
}
});
}));</script>
</div>
<div id="digitalDashLowProminence_feature_div" class="feature" data-feature-name="digitalDashLowProminence" data-cel-widget="digitalDashLowProminence_feature_div">
<div class="a-section">
<div id="digital-dash-create" class="a-section a-spacing-none">
<div id="digital-dash-create-success-changeover" class="a-changeover" style="display: none"><div class="a-changeover-inner"><i class="a-icon a-icon-checkmark-inverse"></i><strong class="a-size-medium">Dash Button added.</strong></div></div>
<div id="digital-dash-create-error-message" class="a-box a-alert a-alert-error aok-hidden" aria-live="assertive" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content">
There was an error creating your Dash Button. Please try again later.
</div></div></div>
<div class="a-section a-spacing-none a-spacing-top-base a-text-center">
<a id="digital-dash-create-success-message" class="a-size-small a-link-normal" href="/ddb/your-dash-buttons/ref=snk_ddb_ydb_dp_cw_lprm_ncdb">
See your Dash Buttons
</a>
<span class="a-declarative" data-action="digital-dash-create" data-digital-dash-create="{"data":{"asin":"B01BGZ9YO0","source":"dp","currencyCode":"USD","basePrice":"14.30","token":"gERnRBdWeq3RrUhaE4e5r+zdOPPILV8gN0Ga6XIAAAAJAAAAAFwyaLFyYXcAAAAA"},"el":"#digital-dash-create","href":"/hz5/ddb/createButton?ref_=snk_ddb_cdbajx_dp_cw_lprm"}">
<a class="a-size-small a-link-normal digital-dash-create-button" href="#">
Add to your Dash Buttons
</a>
</span>
</div>
</div>
</div>
</div>
</div>
</div></div>
</div>
<input data-addnewaddress="add-new" id="cartAddressNew" name="dropdown-selection" type="hidden" value="add-new"><input data-addnewaddress="add-new" id="cartAddressUsed" name="dropdown-selection-ubb" type="hidden" value="add-new"></form>
</div>
</div>';
preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0);
// Print the entire match result
var_dump($matches);
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