# coding=utf8
# the above tag defines encoding for this document and is for Python 2.x compatibility
import re
regex = r"<\/head>([\s\S]*)href=\"https:\/\/TBD\/[\s\S]*>Buy Now"
test_str = ("\n"
"<!DOCTYPE html>\n"
"<html lang=\"en-US\">\n"
"<head>\n"
"<meta charset=\"UTF-8\">\n"
"<script type=\"text/javascript\">window.NREUM||(NREUM={});NREUM.info={\"beacon\":\"bam.nr-data.net\",\"errorBeacon\":\"bam.nr-data.net\",\"licenseKey\":\"14c3803a97\",\"applicationID\":\"2712848\",\"transactionName\":\"dg4PTUIOXlkBFB5ZDFgETl1JD1NYDQVuUg5GPhFYVwQ=\",\"queueTime\":2,\"applicationTime\":5328,\"agentToken\":null,\"agent\":\"js-agent.newrelic.com/nr-632.min.js\",\"ttGuid\":\"2d4eef23c0ef88b8\"}</script>\n"
"<script type=\"text/javascript\">(window.NREUM||(NREUM={})).loader_config={xpid:\"VwUHVUVRDwICXFVa\"};window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o?o:e)},o,o.exports)}return e[n].exports}if(\"function\"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({QJf3ax:[function(t,e){function n(t){function e(e,n,a){t&&t(e,n,a),a||(a={});for(var c=s(e),f=c.length,u=i(a,o,r),d=0;f>d;d++)c[d].apply(u,n);return u}function a(t,e){f[t]=s(t).concat(e)}function s(t){return f[t]||[]}function c(){return n(e)}var f={};return{on:a,emit:e,create:c,listeners:s,_events:f}}function r(){return{}}var o=\"nr@context\",i=t(\"gos\");e.exports=n()},{gos:\"7eSDFh\"}],ee:[function(t,e){e.exports=t(\"QJf3ax\")},{}],3:[function(t){function e(t){try{i.console&&console.log(t)}catch(e){}}var n,r=t(\"ee\"),o=t(1),i={};try{n=localStorage.getItem(\"__nr_flags\").split(\",\"),console&&\"function\"==typeof console.log&&(i.console=!0,-1!==n.indexOf(\"dev\")&&(i.dev=!0),-1!==n.indexOf(\"nr_dev\")&&(i.nrDev=!0))}catch(a){}i.nrDev&&r.on(\"internal-error\",function(t){e(t.stack)}),i.dev&&r.on(\"fn-err\",function(t,n,r){e(r.stack)}),i.dev&&(e(\"NR AGENT IN DEVELOPMENT MODE\"),e(\"flags: \"+o(i,function(t){return t}).join(\", \")))},{1:23,ee:\"QJf3ax\"}],4:[function(t){function e(t,e,n,i,s){try{c?c-=1:r(\"err\",[s||new UncaughtException(t,e,n)])}catch(f){try{r(\"ierr\",[f,(new Date).getTime(),!0])}catch(u){}}return\"function\"==typeof a?a.apply(this,o(arguments)):!1}function UncaughtException(t,e,n){this.message=t||\"Uncaught error with no additional information\",this.sourceURL=e,this.line=n}function n(t){r(\"err\",[t,(new Date).getTime()])}var r=t(\"handle\"),o=t(6),i=t(\"ee\"),a=window.onerror,s=!1,c=0;t(\"loader\").features.err=!0,t(5),window.onerror=e;try{throw new Error}catch(f){\"stack\"in f&&(t(1),t(2),\"addEventListener\"in window&&t(3),window.XMLHttpRequest&&XMLHttpRequest.prototype&&XMLHttpRequest.prototype.addEventListener&&window.XMLHttpRequest&&XMLHttpRequest.prototype&&XMLHttpRequest.prototype.addEventListener&&!/CriOS/.test(navigator.userAgent)&&t(4),s=!0)}i.on(\"fn-start\",function(){s&&(c+=1)}),i.on(\"fn-err\",function(t,e,r){s&&(this.thrown=!0,n(r))}),i.on(\"fn-end\",function(){s&&!this.thrown&&c>0&&(c-=1)}),i.on(\"internal-error\",function(t){r(\"ierr\",[t,(new Date).getTime(),!0])})},{1:10,2:9,3:7,4:11,5:3,6:24,ee:\"QJf3ax\",handle:\"D5DuLP\",loader:\"G9z0Bl\"}],5:[function(t){t(\"loader\").features.ins=!0},{loader:\"G9z0Bl\"}],6:[function(t){function e(){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var n=t(\"ee\"),r=t(\"handle\"),o=t(1),i=t(2);t(\"loader\").features.stn=!0,t(3),n.on(\"fn-start\",function(t){var e=t[0];e instanceof Event&&(this.bstStart=Date.now())}),n.on(\"fn-end\",function(t,e){var n=t[0];n instanceof Event&&r(\"bst\",[n,e,this.bstStart,Date.now()])}),o.on(\"fn-start\",function(t,e,n){this.bstStart=Date.now(),this.bstType=n}),o.on(\"fn-end\",function(t,e){r(\"bstTimer\",[e,this.bstStart,Date.now(),this.bstType])}),i.on(\"fn-start\",function(){this.bstStart=Date.now()}),i.on(\"fn-end\",function(t,e){r(\"bstTimer\",[e,this.bstStart,Date.now(),\"requestAnimationFrame\"])}),n.on(\"pushState-start\",function(){this.time=Date.now(),this.startPath=location.pathname+location.hash}),n.on(\"pushState-end\",function(){r(\"bstHist\",[location.pathname+location.hash,this.startPath,this.time])}),\"addEventListener\"in window.performance&&(window.performance.addEventListener(\"webkitresourcetimingbufferfull\",function(){r(\"bstResource\",[window.performance.getEntriesByType(\"resource\")]),window.performance.webkitClearResourceTimings()},!1),window.performance.addEventListener(\"resourcetimingbufferfull\",function(){r(\"bstResource\",[window.performance.getEntriesByType(\"resource\")]),window.performance.clearResourceTimings()},!1)),document.addEventListener(\"scroll\",e,!1),document.addEventListener(\"keypress\",e,!1),document.addEventListener(\"click\",e,!1)}},{1:10,2:9,3:8,ee:\"QJf3ax\",handle:\"D5DuLP\",loader:\"G9z0Bl\"}],7:[function(t,e){function n(t){i.inPlace(t,[\"addEventListener\",\"removeEventListener\"],\"-\",r)}function r(t){return t[1]}var o=(t(1),t(\"ee\").create()),i=t(2)(o),a=t(\"gos\");if(e.exports=o,n(window),\"getPrototypeOf\"in Object){for(var s=document;s&&!s.hasOwnProperty(\"addEventListener\");)s=Object.getPrototypeOf(s);s&&n(s);for(var c=XMLHttpRequest.prototype;c&&!c.hasOwnProperty(\"addEventListener\");)c=Object.getPrototypeOf(c);c&&n(c)}else XMLHttpRequest.prototype.hasOwnProperty(\"addEventListener\")&&n(XMLHttpRequest.prototype);o.on(\"addEventListener-start\",function(t){if(t[1]){var e=t[1];\"function\"==typeof e?this.wrapped=t[1]=a(e,\"nr@wrapped\",function(){return i(e,\"fn-\",null,e.name||\"anonymous\")}):\"function\"==typeof e.handleEvent&&i.inPlace(e,[\"handleEvent\"],\"fn-\")}}),o.on(\"removeEventListener-start\",function(t){var e=this.wrapped;e&&(t[1]=e)})},{1:24,2:25,ee:\"QJf3ax\",gos:\"7eSDFh\"}],8:[function(t,e){var n=(t(2),t(\"ee\").create()),r=t(1)(n);e.exports=n,r.inPlace(window.history,[\"pushState\"],\"-\")},{1:25,2:24,ee:\"QJf3ax\"}],9:[function(t,e){var n=(t(2),t(\"ee\").create()),r=t(1)(n);e.exports=n,r.inPlace(window,[\"requestAnimationFrame\",\"mozRequestAnimationFrame\",\"webkitRequestAnimationFrame\",\"msRequestAnimationFrame\"],\"raf-\"),n.on(\"raf-start\",function(t){t[0]=r(t[0],\"fn-\")})},{1:25,2:24,ee:\"QJf3ax\"}],10:[function(t,e){function n(t,e,n){t[0]=o(t[0],\"fn-\",null,n)}var r=(t(2),t(\"ee\").create()),o=t(1)(r);e.exports=r,o.inPlace(window,[\"setTimeout\",\"setInterval\",\"setImmediate\"],\"setTimer-\"),r.on(\"setTimer-start\",n)},{1:25,2:24,ee:\"QJf3ax\"}],11:[function(t,e){function n(){f.inPlace(this,p,\"fn-\")}function r(t,e){f.inPlace(e,[\"onreadystatechange\"],\"fn-\")}function o(t,e){return e}function i(t,e){for(var n in t)e[n]=t[n];return e}var a=t(\"ee\").create(),s=t(1),c=t(2),f=c(a),u=c(s),d=window.XMLHttpRequest,p=[\"onload\",\"onerror\",\"onabort\",\"onloadstart\",\"onloadend\",\"onprogress\",\"ontimeout\"];e.exports=a,window.XMLHttpRequest=function(t){var e=new d(t);try{a.emit(\"new-xhr\",[],e),u.inPlace(e,[\"addEventListener\",\"removeEventListener\"],\"-\",o),e.addEventListener(\"readystatechange\",n,!1)}catch(r){try{a.emit(\"internal-error\",[r])}catch(i){}}return e},i(d,XMLHttpRequest),XMLHttpRequest.prototype=d.prototype,f.inPlace(XMLHttpRequest.prototype,[\"open\",\"send\"],\"-xhr-\",o),a.on(\"send-xhr-start\",r),a.on(\"open-xhr-start\",r)},{1:7,2:25,ee:\"QJf3ax\"}],12:[function(t){function e(t){var e=this.params,r=this.metrics;if(!this.ended){this.ended=!0;for(var i=0;c>i;i++)t.removeEventListener(s[i],this.listener,!1);if(!e.aborted){if(r.duration=(new Date).getTime()-this.startTime,4===t.readyState){e.status=t.status;var a=t.responseType,f=\"arraybuffer\"===a||\"blob\"===a||\"json\"===a?t.response:t.responseText,u=n(f);if(u&&(r.rxSize=u),this.sameOrigin){var d=t.getResponseHeader(\"X-NewRelic-App-Data\");d&&(e.cat=d.split(\", \").pop())}}else e.status=0;r.cbTime=this.cbTime,o(\"xhr\",[e,r,this.startTime])}}}function n(t){if(\"string\"==typeof t&&t.length)return t.length;if(\"object\"!=typeof t)return void 0;if(\"undefined\"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if(\"undefined\"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(\"undefined\"!=typeof FormData&&t instanceof FormData)return void 0;try{return JSON.stringify(t).length}catch(e){return void 0}}function r(t,e){var n=i(e),r=t.params;r.host=n.hostname+\":\"+n.port,r.pathname=n.pathname,t.sameOrigin=n.sameOrigin}if(window.XMLHttpRequest&&XMLHttpRequest.prototype&&XMLHttpRequest.prototype.addEventListener&&!/CriOS/.test(navigator.userAgent)){t(\"loader\").features.xhr=!0;var o=t(\"handle\"),i=t(2),a=t(\"ee\"),s=[\"load\",\"error\",\"abort\",\"timeout\"],c=s.length,f=t(1);t(4),t(3),a.on(\"new-xhr\",function(){this.totalCbs=0,this.called=0,this.cbTime=0,this.end=e,this.ended=!1,this.xhrGuids={}}),a.on(\"open-xhr-start\",function(t){this.params={method:t[0]},r(this,t[1]),this.metrics={}}),a.on(\"open-xhr-end\",function(t,e){\"loader_config\"in NREUM&&\"xpid\"in NREUM.loader_config&&this.sameOrigin&&e.setRequestHeader(\"X-NewRelic-ID\",NREUM.loader_config.xpid)}),a.on(\"send-xhr-start\",function(t,e){var r=this.metrics,o=t[0],i=this;if(r&&o){var f=n(o);f&&(r.txSize=f)}this.startTime=(new Date).getTime(),this.listener=function(t){try{\"abort\"===t.type&&(i.params.aborted=!0),(\"load\"!==t.type||i.called===i.totalCbs&&(i.onloadCalled||\"function\"!=typeof e.onload))&&i.end(e)}catch(n){try{a.emit(\"internal-error\",[n])}catch(r){}}};for(var u=0;c>u;u++)e.addEventListener(s[u],this.listener,!1)}),a.on(\"xhr-cb-time\",function(t,e,n){this.cbTime+=t,e?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&\"function\"==typeof n.onload||this.end(n)}),a.on(\"xhr-load-added\",function(t,e){var n=\"\"+f(t)+!!e;this.xhrGuids&&!this.xhrGuids[n]&&(this.xhrGuids[n]=!0,this.totalCbs+=1)}),a.on(\"xhr-load-removed\",function(t,e){var n=\"\"+f(t)+!!e;this.xhrGuids&&this.xhrGuids[n]&&(delete this.xhrGuids[n],this.totalCbs-=1)}),a.on(\"addEventListener-end\",function(t,e){e instanceof XMLHttpRequest&&\"load\"===t[0]&&a.emit(\"xhr-load-added\",[t[1],t[2]],e)}),a.on(\"removeEventListener-end\",function(t,e){e instanceof XMLHttpRequest&&\"load\"===t[0]&&a.emit(\"xhr-load-removed\",[t[1],t[2]],e)}),a.on(\"fn-start\",function(t,e,n){e instanceof XMLHttpRequest&&(\"onload\"===n&&(this.onload=!0),(\"load\"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=(new Date).getTime()))}),a.on(\"fn-end\",function(t,e){this.xhrCbStart&&a.emit(\"xhr-cb-time\",[(new Date).getTime()-this.xhrCbStart,this.onload,e],e)})}},{1:\"XL7HBI\",2:13,3:11,4:7,ee:\"QJf3ax\",handle:\"D5DuLP\",loader:\"G9z0Bl\"}],13:[function(t,e){e.exports=function(t){var e=document.createElement(\"a\"),n=window.location,r={};e.href=t,r.port=e.port;var o=e.href.split(\"://\");return!r.port&&o[1]&&(r.port=o[1].split(\"/\")[0].split(\"@\").pop().split(\":\")[1]),r.port&&\"0\"!==r.port||(r.port=\"https\"===o[0]?\"443\":\"80\"),r.hostname=e.hostname||n.hostname,r.pathname=e.pathname,r.protocol=o[0],\"/\"!==r.pathname.charAt(0)&&(r.pathname=\"/\"+r.pathname),r.sameOrigin=!e.hostname||e.hostname===document.domain&&e.port===n.port&&e.protocol===n.protocol,r}},{}],14:[function(t,e){function n(t){return function(){r(t,[(new Date).getTime()].concat(i(arguments)))}}var r=t(\"handle\"),o=t(1),i=t(2);\"undefined\"==typeof window.newrelic&&(newrelic=window.NREUM);var a=[\"setPageViewName\",\"addPageAction\",\"setCustomAttribute\",\"finished\",\"addToTrace\",\"inlineHit\",\"noticeError\"];o(a,function(t,e){window.NREUM[e]=n(\"api-\"+e)}),e.exports=window.NREUM},{1:23,2:24,handle:\"D5DuLP\"}],\"7eSDFh\":[function(t,e){function n(t,e,n){if(r.call(t,e))return t[e];var o=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:o,writable:!0,enumerable:!1}),o}catch(i){}return t[e]=o,o}var r=Object.prototype.hasOwnProperty;e.exports=n},{}],gos:[function(t,e){e.exports=t(\"7eSDFh\")},{}],handle:[function(t,e){e.exports=t(\"D5DuLP\")},{}],D5DuLP:[function(t,e){function n(t,e,n){return r.listeners(t).length?r.emit(t,e,n):(o[t]||(o[t]=[]),void o[t].push(e))}var r=t(\"ee\").create(),o={};e.exports=n,n.ee=r,r.q=o},{ee:\"QJf3ax\"}],id:[function(t,e){e.exports=t(\"XL7HBI\")},{}],XL7HBI:[function(t,e){function n(t){var e=typeof t;return!t||\"object\"!==e&&\"function\"!==e?-1:t===window?0:i(t,o,function(){return r++})}var r=1,o=\"nr@id\",i=t(\"gos\");e.exports=n},{gos:\"7eSDFh\"}],G9z0Bl:[function(t,e){function n(){var t=p.info=NREUM.info,e=f.getElementsByTagName(\"script\")[0];if(t&&t.licenseKey&&t.applicationID&&e){s(d,function(e,n){e in t||(t[e]=n)});var n=\"https\"===u.split(\":\")[0]||t.sslForHttp;p.proto=n?\"https://\":\"http://\",a(\"mark\",[\"onload\",i()]);var r=f.createElement(\"script\");r.src=p.proto+t.agent,e.parentNode.insertBefore(r,e)}}function r(){\"complete\"===f.readyState&&o()}function o(){a(\"mark\",[\"domContent\",i()])}function i(){return(new Date).getTime()}var a=t(\"handle\"),s=t(1),c=(t(2),window),f=c.document,u=(\"\"+location).split(\"?\")[0],d={beacon:\"bam.nr-data.net\",errorBeacon:\"bam.nr-data.net\",agent:\"js-agent.newrelic.com/nr-632.min.js\"},p=e.exports={offset:i(),origin:u,features:{}};f.addEventListener?(f.addEventListener(\"DOMContentLoaded\",o,!1),c.addEventListener(\"load\",n,!1)):(f.attachEvent(\"onreadystatechange\",r),c.attachEvent(\"onload\",n)),a(\"mark\",[\"firstbyte\",i()])},{1:23,2:14,handle:\"D5DuLP\"}],loader:[function(t,e){e.exports=t(\"G9z0Bl\")},{}],23:[function(t,e){function n(t,e){var n=[],o=\"\",i=0;for(o in t)r.call(t,o)&&(n[i]=e(o,t[o]),i+=1);return n}var r=Object.prototype.hasOwnProperty;e.exports=n},{}],24:[function(t,e){function n(t,e,n){e||(e=0),\"undefined\"==typeof n&&(n=t?t.length:0);for(var r=-1,o=n-e||0,i=Array(0>o?0:o);++r<o;)i[r]=t[e+r];return i}e.exports=n},{}],25:[function(t,e){function n(t){return!(t&&\"function\"==typeof t&&t.apply&&!t[i])}var r=t(\"ee\"),o=t(1),i=\"nr@wrapper\",a=Object.prototype.hasOwnProperty;e.exports=function(t){function e(t,e,r,a){function nrWrapper(){var n,i,s,f;try{i=this,n=o(arguments),s=r&&r(n,i)||{}}catch(d){u([d,\"\",[n,i,a],s])}c(e+\"start\",[n,i,a],s);try{return f=t.apply(i,n)}catch(p){throw c(e+\"err\",[n,i,p],s),p}finally{c(e+\"end\",[n,i,f],s)}}return n(t)?t:(e||(e=\"\"),nrWrapper[i]=!0,f(t,nrWrapper),nrWrapper)}function s(t,r,o,i){o||(o=\"\");var a,s,c,f=\"-\"===o.charAt(0);for(c=0;c<r.length;c++)s=r[c],a=t[s],n(a)||(t[s]=e(a,f?s+o:o,i,s))}function c(e,n,r){try{t.emit(e,n,r)}catch(o){u([o,e,n,r])}}function f(t,e){if(Object.defineProperty&&Object.keys)try{var n=Object.keys(t);return n.forEach(function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){return t[n]=e,e}})}),e}catch(r){u([r])}for(var o in t)a.call(t,o)&&(e[o]=t[o]);return e}function u(e){try{t.emit(\"internal-error\",e)}catch(n){}}return t||(t=r),e.inPlace=s,e.flag=i,e}},{1:24,ee:\"QJf3ax\"}]},{},[\"G9z0Bl\",4,12,6,5]);</script>\n"
"<!-- We like people who view source. Check out our careers page http://careers.intuit.com/ -->\n"
"<meta content=\"authenticity_token\" name=\"csrf-param\" />\n"
"<meta content=\"pUtksziat3aCTa6fkqCaQ6naoSp3Dv8pZfZKU2tR39Q=\" name=\"csrf-token\" />\n\n\n\n"
"<meta content=\"Intuit QuickBooks\" name=\"description\" />\n"
"<meta content=\"noindex; nofollow\" name=\"robots\" />\n\n"
"<title>Upgrade to Latest QuickBooks </title>\n"
"<link href=\"//qbipd-s3.intuitstatic.com/favicon.png\" rel=\"icon\" type=\"image/x-icon\" />\n"
"<link href=\"//qbipd-s3.intuitstatic.com/assets/harmony/assets/standard/css/merged/standard-81294168e0912e6d95f36360eda91077.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n"
"<link href=\"//qbipd-s3.intuitstatic.com/assets/harmony/assets/product/css/merged/product-b7b9e932156ab57e5f55da3eacd32b7f.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n"
"<link href=\"//qbipd-s3.intuitstatic.com/assets/harmony/assets/custom/css/merged/custom-a64c3c716bfeb6b884810bd6216c9396.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n"
"<link href=\"//qbipd-s3.intuitstatic.com/assets/harmony/assets/util1/css/merged/util1-f70a745f2fb5ba4fd859411cdcbe1648.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n"
"<link href=\"//qbipd-s3.intuitstatic.com/assets/harmony/assets/util_product_pricing/css/merged/util_product_pricing-a93d7e3e6d2963388b5729251c471a87.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n\n"
"<script type=\"text/javascript\">\n"
" window.toolmapUrl = '//tmsasset-s3.intuitstatic.com/toolmap_553.json?preview=false'\n"
" window.datalayerUrl = '//tmsasset-s3.intuitstatic.com/datalayer_553.json?preview=false'\n"
"</script>\n\n\n"
"<script type=\"text/javascript\" src=\"//nexus.ensighten.com/intuit/us_sbg_prod/Bootstrap.js\"></script>\n"
"<script src=\"//qbipd-s3.intuitstatic.com/assets/harmony/assets/base/js/merged/mtagconfig-9c3c15f55e0530ef9e87e2a6a4c22d55.js\" type=\"text/javascript\"></script>\n"
"<script>\n"
" var lpMTagConfig = lpMTagConfig || {}; lpMTagConfig.vars = lpMTagConfig.vars || [];\n"
" lpMTagConfig.lpServer = \"sales.liveperson.net\";\n"
" lpMTagConfig.lpTagSrv = \"sales.liveperson.net\";\n"
" lpMTagConfig.lpNumber = \"37343836\";\n"
" lpMTagConfig.deploymentID = \"sales\";\n"
" lpMTagConfig.vars.push([\"page\",\"unit\",\"qb-sales\"]);\n"
" lpMTagConfig.vars.push([\"session\",\"language\",\"english\"]);\n"
" lpMTagConfig.vars.push([\"session\",\"campaign\",\"\"]);\n"
" lpMTagConfig.vars.push([\"page\",\"inviteChat\",\"yes\"]);\n"
" \n"
" var lp_product_name = '';\n"
" if(lp_product_name != ''){\n"
" lpMTagConfig.vars.push(['page','ProductName','']);\n"
" }\n"
" var lp_section = '';\n"
" if(lp_section != ''){\n"
" lpMTagConfig.vars.push(['page','Section','']);\n"
" }\n"
" window.onload = function() {\n"
" if(location.host.indexOf('quickbooks.intuit.com') > -1) {\n"
" $(\".hdr-chat-link\").attr(\"data-wa-link\",\"qb-sales\"+\"-english\"); \n"
" }\n"
" };\n"
"</script>\n\n"
"<script src=\"//qbipd-s3.intuitstatic.com/assets/harmony/assets/standard/js/merged/standard-e66519b8ceed0a79095cec23df2bd92e.js\" type=\"text/javascript\"></script>\n"
"<script type=\"text/javascript\">\n"
" if (typeof(wa) == \"undefined\") {\n"
" wa={}\n"
" }\n"
" wa.pageLoadStart = new Date();\n"
" wa.siteName = \"fms\";\n"
" wa.siteGroup = \"mktg\";\n"
" wa.siteHost = \"quickbooks\";\n\n"
" var aryProd = [[\"qbo\"]];\n"
" if (aryProd != \"\") {\n"
" wa.aryProducts = aryProd;\n"
" wa.eventList = \"prodView\";\n"
" }\n\n"
" //sbm_intuit_id cookie value saved in wa.visitorID for Ensighten to store in var74\n"
" /*i.com does not use harmony standard page templates which will cause js error when Intuit.Library.Cookie is accessed. Adding\n"
" check if Intuit.Library.Cookie varialbe is defined 04/01/14 - sjakka1. This can be removed when i.com moves to harmony standard page template*/\n"
" \n"
" if(typeof Intuit.Library.Cookie != \"undefined\"){\n"
" wa.userId = Intuit.Library.Cookie.getUUID();\n"
" }\n"
"</script>\n"
"<script type=\"text/javascript\">\n"
" /**\n"
" * script that will create var for ensighten consumption\n"
" */\n"
" (function(window){\n"
" var Intuit = window.Intuit || {};\n"
" Intuit.Data = Intuit.Data || {};\n"
" Intuit.Data.aggregate = Intuit.Data.aggregate || {};\n"
" Intuit.Data.aggregate.json = {\"dynamic_vars\":{\"tagProperties\":{\"etc\":{\"object_type\":\"Page\",\"Page_Type\":\"Web Landing Page\",\"website_group\":\"Marketing\",\"operating_segment\":\"FMS\",\"page_owner\":\"Kristen Tom\",\"biz_segment\":\"SBFS\",\"page_version\":\"3\",\"tool_map\":\"|SC|GA|OI\",\"URL\":\"http://quickbooks.intuit.com/qb_pro_product_ruby_page_qbo\",\"product_group\":\"QBO\",\"country_code\":\"US\"}}},\"dynamic_pricing\":{\"items\":{\"oid:0000000000012300289\":{\"regPrice\":\"299.95\",\"salePrice\":\"299.95\",\"discount\":null,\"isDynamic\":true,\"currency\":\"$\",\"separator\":\".\"}},\"priorityCode\":\"-\",\"campaignId\":\"\"}};\n\n"
" Intuit.Data.aggregate.getDynamicVariable = function(references) {\n"
" var i, l = references.length, tmp, reference;\n"
" for (i = 0; i < references.length; i++) {\n"
" reference = references[i];\n"
" tmp = new Function('if(typeof '+reference+' !== \"undefined\") return ' + reference)();\n"
" if (typeof tmp !== 'undefined') {\n"
" return tmp;\n"
" }\n"
" }\n"
" return '';\n"
" };\n\n"
" var dynamicVars = JSON.stringify(Intuit.Data.aggregate.json['dynamic_vars']),\n"
" parseDynamicVars = function() {\n"
" return JSON.parse(dynamicVars, function(key, value){\n"
" var i;\n"
" if (value && typeof value === 'string' && value.indexOf('=dom') !== -1) {\n"
" return new Function('return Intuit.Data.aggregate.getDynamicVariable(' + value.replace('=dom','') + ')')();\n"
" }\n"
" return value;\n"
" });\n"
" };\n\n"
" /**\n"
" *\n"
" * API to get PR data layer object - the later it's called, the more likely it is it will have all the correct DOM sourced values\n"
" *\n"
" * @type {parseDynamicVars}\n"
" * @private\n"
" */\n"
" window._getPrDataLayer = parseDynamicVars;\n"
" window.Intuit = Intuit;\n"
" }(window));\n"
"</script>\n\n\n\n\n"
"<script src=\"/__ssobj/core.js\"></script>\n"
"</head>\n"
"<body>\n\n"
"<header id=\"mainHeader\" class=\"main-header\">\n"
" <section class=\"ccontainer \" >\n"
" \n"
" </section>\n\n"
"</header>\n"
" <section class=\"ccontainer \" >\n"
" \n"
" </section>\n\n"
"<section id=\"main\">\n"
" <section class=\"ccontainer \" style=\"height:210px; \" id='oaHeroSection' >\n"
" <div class=\"bg bg-grey\">\n"
" <img alt=\"\" class=\"center\" src=\"//qbipd-s3.intuitstatic.com/showroom_cms/image/content/dam/intuit/onlineacquisition/quickbooks/hro_qb_210_35e03645-29b8-42c2-996f-30172de65e3f.jpg\" style=\"margin-left:-800px\" />\n"
" </div>\n"
" <div class=\"content-container\">\n"
" <style type=\"text/css\">\n"
".oaHeroBg { \n"
"padding: 20px 24px;\n"
"margin: 40px 0 0 0;\n"
"border-radius: 1px;\n"
"box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);\n"
"text-shadow: 1px 1px 2px rgba(255,255,255,0.5);\n"
"background:rgb(255,255,255); \n"
"background: transparent\\9; \n"
"background:rgba(255,255,255,0.9); \n"
"filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#CCFFFFFF,endColorstr=#CCFFFFFF); \n"
"zoom: 1; \n"
"} \n"
".oaHeroBg:nth-child(n) { \n"
"filter: none; \n"
"}\n"
"</style>\n\n\n\n"
" \n\n"
"<div class=\"row grid-container-960\">\n"
" <div class=\"span6 col-md-6 col-sm-6 col-xs-12\">\n"
" <Section class=\"ccontainer \" >\n"
" \n"
" </Section>\n\n"
" </div>\n"
" <div class=\"span6 col-md-6 col-sm-6 col-xs-12\">\n"
" <Section class=\"ccontainer oaHeroBg \" >\n"
" <div class=\"ctext\">\n"
" <h3>Make the move to less busywork and<br>\n"
"late-night data entry. </h3>\n"
"<h4> </h4>\n"
"<h4><span class=\"h4\">Switch to QuickBooks Online</span></h4>\n\n"
"</div>\n\n"
" </Section>\n\n"
" </div>\n"
"</div>\n\n\n\n"
" </div>\n"
" </section>\n\n"
" \n"
" <div class=\"outer-container\">\n"
" <section class=\"ccontainer \" >\n"
" <section class=\"ccontainer bg-grey hideOnPageNav \" >\n"
" \n"
" </section>\n\n"
" <section class=\"ccontainer \" >\n"
" <div class=\"content-container\">\n"
" <!-- BEGIN CODE BLOCK -->\n"
"<!-- add gray bg to right column -->\n"
"<!--\n"
"<style type=\"text/css\">\n"
".outer-container .oaInnerPage {\n"
"background-image: url('http://quickbooks-s3.intuitstatic.com/showroom_cms/image/content/dam/intuit/onlineacquisition/common/px_edeef0_h.png');\n"
"background-color: #FFF;\n"
"background-repeat: repeat-y;\n"
"background-position: 720px 0px;\n"
"border-top: 1px solid #CCC;\n"
"}\n"
"</style>\n"
"-->\n"
"<!-- END CODE BLOCK -->\n\n"
" </div>\n"
" </section>\n\n"
" <Section class=\"ccontainer oaInnerPage \" >\n"
" <div class=\"content-container\">\n"
" <Section class=\"ccontainer \" id='pricing' >\n"
" <div class=\"interspace_container\" style=\"padding:39px 0px 0px 0px; margin:0px 0px 0px 0px; \"></div>\n\n"
" \n\n"
"<div class=\"row grid-container-960\">\n"
" <div class=\"span9 col-md-9 col-sm-9 col-xs-12\">\n"
" <section class=\"ccontainer \" >\n"
" <div class=\"ctextimage nowrap\">\n"
" <img alt=\"\" class=\"img-left\" src=\"//qbipd-s3.intuitstatic.com/showroom_cms/image/content/dam/intuit/onlineacquisition/quickbooks/prd-qbo-devices-s_05d71f05-2d87-477b-b41b-0757e4018291.png\" />\n\n"
" <div class=\"ctext\">\n"
" <h3>3 out of 4 customers get more work done with</h3>\n"
"<h3>QuickBooks Online vs. QuickBooks Pro<sup>1</sup><br>\n"
"</h3>\n"
"<p> </p>\n\n"
" </div>\n\n"
"</div>\n\n"
" <div class=\"cpricing-card\">\n"
" <div class=\"pricing-card-header\">\n"
" <h4><div class=\"ctext\">\n"
" <h3>QuickBooks Online</h3>\n"
"<h4>Connect your bank for free to track expenses and enter information from any device.</h4>\n\n"
"</div></h4>\n"
" </div>\n"
" <div class=\"table-row\">\n"
" <div class=\"pricing-card-content clearfix\" style=\"width:50%\">\n"
" <div class=\"content-wrapper\">\n"
" <section class=\"ccontainer \" >\n"
" <div class=\"ctext\">\n"
" <p style=\"text-align: center;\"><span class=\"p2\"><b>Essentials</b></span></p>\n"
"<p style=\"text-align: center;\"><span class=\"x-price-currency-quantifier\">$</span><span class=\"x-price-amount-whole\">11</span><span class=\"x-price-amount-separator\">.</span><span class=\"x-price-amount-cents\">99</span><span class=\"x-price-duration-quantifier\">/ month</span></p>\n\n"
"</div>\n"
" <div class=\"ctext\">\n"
" <p style=\"text-align: center;\">was <span class=\"text-lightgrey-strikethrough\">$19.99/month </span></p>\n"
"<p style=\"text-align: center;\"><span class=\"high-attention-text\"><b>40% OFF</b> for first 12 months<sup>2</sup></span></p>\n"
"</div>\n"
" <div class=\"ccta cta-align-center\" data-qe-id=\"d5a0afad-6418-4bf5-92ac-2938d6b58aef\">\n"
" <a \n"
" class=\"ctasecondary ctacenter \"\n"
" data-wa-link=\"ipd_fms_dtm_shared_propropremier_websui_es_buy\" \n"
" data-wa-event=\"ipd_fms_dtm_shared_propropremier_websui_es_buy\" \n"
" \n\n"
" \n"
" \n"
" href=\"https://quickbooks.intuit.com/start/core_sui?bc=USE-B90&CID=ipd_fms_dtm_shared_propremier_websui_es_buy\" \n"
" \n"
" >Buy Now\n"
" </a>\n"
"</div>\n\n"
" <div class=\"ctext\">\n"
" <p style=\"font-size: 12px; text-align: center;\"><a href=\"https://quickbooks.intuit.com/start/core_sui?bc=QES-T24&cid=ipd_fms_dtm_shared_propremier_websui_es_try\" data-wa-link=\"ipd_fms_dtm_shared_propremier_websui_es_try\"><span class=\"p2\">Try It Free</span></a></p>\n"
"<p style=\"font-size: 12px; text-align: center;\"><span class=\"text-lightgrey\"> </span></p>\n"
"<p style=\"font-size: 12px; text-align: center;\"><span class=\"text-lightgrey\">"Try it Free" excludes discount</span></p>\n"
"<ul>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Sync bank accounts<sup>4</sup> and apps<span style=\"color: #000000;\"></span></span></li>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Track income and expenses</span></li>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Create estimates and invoices</span></li>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Manage and pay bills</span></li>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Instant sales and profit reports<br>\n"
" </span></li>\n"
"<li><span style=\"color: rgb(0, 0, 0);\"><span style=\"font-size: 12px;\">Access for 3 users</span><span style=\"font-size: 10px;\"><sup>5</sup></span></span></li>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Works on PC, Mac, & mobile<sup>6</sup></span></li>\n"
"</ul>\n\n"
"</div>\n\n"
" </section>\n\n\n"
" </div>\n"
" </div>\n"
" <div class=\"pricing-card-content clearfix\" style=\"width:50%\">\n"
" <div class=\"pricing-content-burst-wrapper pricing-content-burst-wrapper-align-right pricing-content-burst-wrapper-push-down\">\n"
" <div class=\"global-sprite pricing-content-burst\">\n"
" <p><div class=\"ctext\">\n"
" <p>Most Popular</p>\n\n"
"</div></p>\n"
" </div>\n"
" </div>\n"
" <div class=\"content-wrapper\">\n"
" <section class=\"ccontainer \" >\n"
" <div class=\"ctext\">\n"
" <p style=\"text-align: center;\"><span class=\"p2\"><b>Plus</b></span></p>\n"
"<p style=\"text-align: center;\"><span class=\"x-price-currency-quantifier\">$</span><span class=\"x-price-amount-whole\">14</span><span class=\"x-price-amount-separator\">.</span><span class=\"x-price-amount-cents\">99</span><span class=\"x-price-duration-quantifier\">/ month</span></p>\n\n"
"</div>\n"
" <div class=\"ctext\">\n"
" <p style=\"text-align: center;\">was <span class=\"text-lightgrey-strikethrough\">$29.99/month </span></p>\n"
"<p style=\"text-align: center;\"><span class=\"high-attention-text\"><b>50% OFF</b> for first 12 months<sup>2</sup></span></p>\n"
"</div>\n"
" <div class=\"ccta cta-align-center\" data-qe-id=\"d5a0afad-6418-4bf5-92ac-2938d6b58aef\">\n"
" <a \n"
" class=\"ctasecondary ctacenter \"\n"
" data-wa-link=\"ipd_fms_dtm_shared_propremier_websui_plus_buy\" \n"
" data-wa-event=\"ipd_fms_dtm_shared_propremier_websui_plus_buy\" \n"
" \n\n"
" \n"
" \n"
" href=\"https://quickbooks.intuit.com/start/core_sui?bc=USP-BC0&CID=ipd_fms_dtm_shared_propremier_websui_plus_buy\" \n"
" \n"
" >Buy Now\n"
" </a>\n"
"</div>\n\n"
" <div class=\"ctext\">\n"
" <p style=\"font-size: 12px; text-align: center;\"><a href=\"https://quickbooks.intuit.com/start/core_sui?bc=QBP-T39&CID=ipd_fms_dtm_shared_propremier_websui_plus_try\" data-wa-link=\"ipd_fms_dtm_shared_propremier_websui_plus_try\"><span class=\"p2\">Try It Free</span></a></p>\n"
"<p style=\"font-size: 12px; text-align: center;\"><span class=\"text-lightgrey\"> </span></p>\n"
"<p style=\"font-size: 12px; text-align: center;\"><span class=\"text-lightgrey\">"Try it Free" excludes discount</span></p>\n"
"<ul>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Sync bank accounts<sup>4</sup> and apps<span style=\"color: #000000;\"></span></span></li>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Track income and expenses</span></li>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Create estimates and invoices</span></li>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Manage and pay bills</span></li>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Instant sales and profit reports</span></li>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Track inventory</span></li>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Prepare and print 1099s<br>\n"
" </span></li>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Access for 5 users<sup>5</sup></span></li>\n"
"<li style=\"font-size: 12px;\"><span style=\"color: #000000;\">Works on PC, Mac, & mobile<sup>6</sup></span></li>\n"
"</ul>\n\n"
"</div>\n\n"
" </section>\n\n\n"
" </div>\n"
" </div>\n"
" </div>\n"
"</div>\n"
" <div class=\"interspace_container\" style=\"padding:20px 0px 0px 0px; margin:0px 0px 0px 0px; \"></div>\n\n\n"
" </section>\n\n"
" </div>\n"
" <div class=\"span3 col-md-3 col-sm-3 col-xs-12\">\n"
" <section class=\"ccontainer \" >\n"
" <div class=\"ctextimage nowrap\">\n"
" <div class=\"ctext\">\n"
" <h3 style=\"text-align: center;\">Upgrade your QuickBooks </h3>\n"
"<p> </p>\n\n"
" </div>\n\n"
" <img alt=\"\" class=\"img-right\" src=\"//qbipd-s3.intuitstatic.com/showroom_cms/image/content/dam/intuit/onlineacquisition/quickbooks/prd-pro15-box-s_f907a0e3-1fe0-4579-8fee-d71c5e2594f4.png\" />\n\n"
"</div>\n\n"
" <div class=\"cpricing-card\">\n"
" <div class=\"pricing-card-header\">\n"
" <h4><div class=\"ctext\">\n"
" <h3>QuickBooks Desktop</h3>\n"
"<h4>Installs on your computer</h4>\n\n"
"</div></h4>\n"
" </div>\n"
" <div class=\"table-row\">\n"
" <div class=\"pricing-card-content clearfix\" style=\"width:100%\">\n"
" <div class=\"content-wrapper\">\n"
" <section class=\"ccontainer \" >\n"
" <div class=\"ctext\">\n"
" <p style=\"text-align: center;\"><span class=\"p2\"><b>Starting at </b></span></p>\n"
"<p style=\"text-align: center;\"><span class=\"x-price-currency-quantifier\">$</span><span class=\"x-price-amount-whole\">199</span><span class=\"x-price-amount-separator\">.</span><span class=\"x-price-amount-cents\">95</span></p>\n\n"
"</div>\n"
" <div class=\"ctext\">\n"
" <p style=\"text-align: center;\">was <span class=\"text-lightgrey-strikethrough\">$299.95 </span></p>\n"
"<p style=\"text-align: center;\"><span class=\"high-attention-text\"><b>SAVE 33%<sup>3</sup></b></span></p>\n"
"</div>\n"
" <div class=\"ccta cta-align-center\" data-qe-id=\"c1689ce2-3ee2-4bc8-a5f2-9652507739e8\">\n"
" <a \n"
" class=\"ctasecondary ctacenter \"\n"
" data-wa-link=\"ipd_fms_dtm_shared_propremier_websui_dt_buypro\" \n"
" data-wa-event=\"ipd_fms_dtm_shared_propremier_websui_dt_buypro\" \n"
" \n\n"
" \n"
" \n"
" href=\"https://TBD/commerce/e2e/checkout/redirect_to_cart.jsp?quantity=1&offeringId=0000000000012300289&priorityCode=*&successUrl=https://TBD/commerce/e2e/cart/shopping_cart.jsp\" \n"
" \n"
" >Buy Now\n"
" </a>\n"
"</div>\n\n"
" <div class=\"ccta cta-align-center\" data-qe-id=\"c1689ce2-3ee2-4bc8-a5f2-9652507739e8\">\n"
" <a id=\"pricecard-lnk-to_mktgpage-qbdt_pro\" \n"
" class=\"ctaplain ctacenter \"\n"
" data-wa-link=\"ipd_fms_dtm_shared_propremier_websui_2015_new\" \n"
" data-wa-event=\"ipd_fms_dtm_shared_propremier_websui_2015_new\" \n"
" \n\n"
" \n"
" \n"
" href=\"http://qbinproduct.intuit.com/compare\" \n"
" target=\"_blank\" \n"
" >See what's new in 2015\n"
" </a>\n"
"</div>\n\n"
" <div class=\"ccta cta-align-center\" data-qe-id=\"c1689ce2-3ee2-4bc8-a5f2-9652507739e8\">\n"
" <a \n"
" class=\"ctaplain ctacenter \"\n"
" data-wa-link=\"ipd_fms_dtm_shared_propremier_websui_switch_QBO\" \n"
" data-wa-event=\"ipd_fms_dtm_shared_propremier_websui_switch_QBO\" \n"
" \n\n"
" \n"
" \n"
" href=\"#overview\" \n"
" \n"
" >Should you switch to QuickBooks Online?\n"
" </a>\n"
"</div>\n\n"
" <div class=\"ccta cta-align-center\" data-qe-id=\"c1689ce2-3ee2-4bc8-a5f2-9652507739e8\">\n"
" <a \n"
" class=\"ctaplain ctacenter \"\n"
" data-wa-link=\"ipd_fms_dtm_shared_propremier_websui_compare\" \n"
" data-wa-event=\"ipd_fms_dtm_shared_propremier_websui_compare\" \n"
" \n\n"
" \n"
" \n"
" href=\"#compare\" \n"
" \n"
" >Compare Features\n"
" </a>\n"
"</div>\n\n\n"
" </section>\n\n\n"
" </div>\n"
" </div>\n"
" </div>\n"
"</div>\n\n"
" </section>\n\n"
" </div>\n"
"</div>\n\n\n\n"
" </Section>\n\n\n"
" </div>\n"
" </Section>\n\n"
" <Section class=\"ccontainer \" id='overview' >\n"
" <div class=\"content-container\">\n"
" <div class=\"ctext-top-padding\">\n"
" <h2 style=\"text-align: center;\"><span class=\"h2\">Is busyness hurting business?</span></h2>\n"
"<h2 style=\"text-align: center;\"><span class=\"h3\">QuickBooks Online can handle it</span></h2>\n\n"
"</div>\n"
" \n\n"
"<div class=\"row grid-container-960\">\n"
" <div class=\"span4 col-md-4 col-sm-4 col-xs-12\">\n"
" <Section class=\"ccontainer \" >\n"
" <div class=\"cimage clearfix \">\n"
" <img alt=\"\" class=\"img-center img-text-align image-scale none img-border-width-none center\" src=\"//qbipd-s3.intuitstatic.com/showroom_cms/image/content/dam/intuit/quickbooks/DTM/icon_no_data_entry_new_bb1762d9-eac4-4e3f-befe-7057e0ffdfc6.png\" />\n"
"</div>\n"
" <div class=\"ctext\">\n"
" <p style=\"text-align: center;\"> </p>\n"
"<p style=\"text-align: center;\"><b>Automate data entry</b></p>\n"
"<p style=\"text-align: center;\">Connect your bank accounts and</p>\n"
"<p style=\"text-align: center;\">QuickBooks Online downloads transactions automatically. </p>\n\n"
"</div>\n\n"
" </Section>\n\n"
" </div>\n"
" <div class=\"span4 col-md-4 col-sm-4 col-xs-12\">\n"
" <Section class=\"ccontainer \" >\n"
" <div class=\"cimage clearfix \">\n"
" <img alt=\"\" class=\"img-center img-text-align image-scale none img-border-width-none center\" src=\"//qbipd-s3.intuitstatic.com/showroom_cms/image/content/dam/intuit/quickbooks/connect-apps_8dbc4f51-7c8c-4eb5-8e1e-9c984f756f9f.png\" />\n"
"</div>\n"
" <div class=\"ctext\">\n"
" <p style=\"text-align: center;\"> </p>\n"
"<p style=\"text-align: center;\"><b>Connect your Apps</b></p>\n"
"<p style=\"text-align: center;\">Sync, link and import data from apps you already use like Paypal, American Express, and Square.</p>\n\n"
"</div>\n\n"
" </Section>\n\n"
" </div>\n"
" <div class=\"span4 col-md-4 col-sm-4 col-xs-12\">\n"
" <Section class=\"ccontainer \" >\n"
" <div class=\"cimage clearfix \">\n"
" <img alt=\"\" class=\"img-center img-text-align image-scale none img-border-width-none center\" src=\"//qbipd-s3.intuitstatic.com/showroom_cms/image/content/dam/intuit/quickbooks/track-ins-outs_da782a85-9cb3-422f-817b-73c26a720bf1.png\" />\n"
"</div>\n"
" <div class=\"ctext\">\n"
" <p style=\"text-align: center;\"> </p>\n"
"<p style=\"text-align: center;\"> </p>\n"
"<p style=\"text-align: center;\"><b>Track earnings and expenses</b></p>\n"
"<p style=\"text-align: center;\">Transactions are categorized automatically, so you can quickly keep tabs on what you earn and spend.</p>\n\n"
"</div>\n\n"
" </Section>\n\n"
" </div>\n"
"</div>\n\n\n"
" \n\n"
"<div class=\"row grid-container-960\">\n"
" <div class=\"span4 col-md-4 col-sm-4 col-xs-12\">\n"
" <Section class=\"ccontainer \" >\n"
" <div class=\"cimage clearfix \">\n"
" <img alt=\"\" class=\"img-center img-text-align image-scale none img-border-width-none center\" src=\"//qbipd-s3.intuitstatic.com/showroom_cms/image/content/dam/intuit/quickbooks/DTM/icon_no_pile_up_new_2372f03a-0f39-4149-8c18-d23da4baa143.png\" />\n"
"</div>\n"
" <div class=\"ctext\">\n"
" <p style=\"text-align: center;\"> </p>\n"
"<p style=\"text-align: center;\"><b>Shrink paper piles</b></p>\n"
"<p style=\"text-align: center;\">Take photos of receipts and use the QuickBooks mobile app to attach them to transactions.</p>\n\n"
"</div>\n\n"
" </Section>\n\n"
" </div>\n"
" <div class=\"span4 col-md-4 col-sm-4 col-xs-12\">\n"
" <Section class=\"ccontainer \" >\n"
" <div class=\"cimage clearfix \">\n"
" <img alt=\"\" class=\"img-center img-text-align image-scale none img-border-width-none center\" src=\"//qbipd-s3.intuitstatic.com/showroom_cms/image/content/dam/intuit/dr/cmc31973/icon_less_track_new_b70819da-9dcd-428f-ab41-dd9c61e55ac1.png\" />\n"
"</div>\n"
" <div class=\"ctext\">\n"
" <p style=\"text-align: center;\"> </p>\n"
"<p style=\"text-align: center;\"><b>At a glance task alerts</b></p>\n"
"<p style=\"text-align: center;\">Customize your homepage and alerts to keep track of completed and upcoming tasks.</p>\n\n"
"</div>\n\n"
" </Section>\n\n"
" </div>\n"
" <div class=\"span4 col-md-4 col-sm-4 col-xs-12\">\n"
" <Section class=\"ccontainer \" >\n"
" <div class=\"cimage clearfix \">\n"
" <img alt=\"\" class=\"img-center img-text-align image-scale none img-border-width-none center\" src=\"//qbipd-s3.intuitstatic.com/showroom_cms/image/content/dam/intuit/quickbooks/work-together_0e7b9c21-2f71-4ea3-b90c-9752aaf2624a.png\" />\n"
"</div>\n"
" <div class=\"ctext\">\n"
" <p style=\"text-align: center;\"> </p>\n"
"<p style=\"text-align: center;\"> </p>\n"
"<p style=\"text-align: center;\"><b>Work together wherever </b></p>\n"
"<p style=\"text-align: center;\">Securely collaborate online with your team. Files sync in real time for simultaneous use.</p>\n\n"
"</div>\n\n"
" </Section>\n\n"
" </div>\n"
"</div>\n\n\n\n"
" </div>\n"
" </Section>\n\n"
" <Section class=\"ccontainer \" id='compare' >\n"
" <div class=\"content-container\">\n"
" <div class=\"ctext\">\n"
" <h2 style=\"text-align: center;\"> </h2>\n"
"<h2 style=\"text-align: center;\">The QuickBooks Online Difference</h2>\n"
"<h3> </h3>\n\n"
"</div>\n"
" <div class=\"cimage clearfix \">\n"
" <img alt=\"\" class=\"img-left image-scale none img-border-width-none center\" src=\"//qbipd-s3.intuitstatic.com/showroom_cms/image/content/dam/intuit/quickbooks/compare_1_1_1a732f32-4f85-4e2e-8408-d363ae8cd8b8.gif\" />\n"
"</div>\n\n"
" </div>\n"
" </Section>\n\n"
" <div class=\"cdisclosure bg-grey \">\n"
" <a href=\"#\" class=\"toggle-disclosure\" data-text=\"Important pricing terms, offer details and disclosures\" \n"
" \n"
" data-wa-link=\"disclosures-lnk-showhide-section\" >Important pricing terms, offer details and disclosures</a>\n"
" <section class=\"cdisclosure-content hide-disclosure\">\n"
" <div class=\"cdisclosure-text\">\n"
" <p> </p>\n"
"<ol>\n"
"<li>Based on Intuit Survey, 2014</li>\n"
"<li>Receive a 40% discount off the current monthly price for QuickBooks Online Essentials for the first 12 months of service, a 50% discount off the current monthly price for QuickBooks Online Plus for the first 12 months of service, starting from date of enrollment, followed by the then current monthly price. Your debit or credit card account will automatically be charged on a monthly basis until you cancel. Offer not applicable with free trial. You must select the Buy Now option. Offer not available for QuickBooks Online Simple Start. You can place orders by phone by calling 800-286-6800 between 6:00am, pacific through 6:00pm, pacific. No limit on the number of subscriptions ordered. To cancel your QuickBooks subscription, call 866-272-8734 x111. Terms, conditions, pricing, special features, and service and support options subject to change without notice.</li>\n"
"<li>Save $100 per user license off the current list price of QuickBooks Pro 2015. Free shipping applies to Standard Ground Shipping for the contiguous U.S. only. Offer is available for current QuickBooks customers. Offer valid April 23, 2015 from 12:00am, pacific to June 14, 2015 to 11:59pm, pacific. Offer valid direct from Intuit only. Offer may not be combined with any other QuickBooks offers. Limit 5 per customer. Terms, conditions, pricing, item availability, features, and service options subject to change without notice</li>\n"
"<li>Online services vary by participating financial institutions or other parties and may be subject to application approval, additional terms, conditions, and fees.</li>\n"
"<li>QuickBooks Online requires a computer with a supported Internet browser (see System Requirements for a list of supported browsers) and an Internet connection (a high-speed connection is recommended). The QuickBooks Online mobile app works with iPhone, iPad, and Android phones and tablets. Devices sold separately; data plan required. Not all features are available on the mobile apps and mobile browser. QuickBooks Online mobile access is included with your QuickBooks Online subscription at no additional cost. Data access is subject to cellular/internet provider network availability and occasional downtime due to system and server maintenance and events beyond your control. Product registration required.</li>\n"
"<li>QuickBooks Online Simple Start includes 1 user license. QuickBooks Online Essentials includes 3 user licenses. QuickBooks Online Plus includes 5 user licenses.</li>\n"
"</ol>\n"
"<p><u>Comparison Chart disclaimers:</u></p>\n"
"<p>*Pricing for QuickBooks Online and QuickBooks Desktop vary depending on version you select; see pricing page for current subscription and license fees. Features and functionality vary depending on version selected. Add-on pricing for phone support is based on current list pricing direct from Intuit; online banking, automatic back up and cloud access is based on current average pricing by third parties and is subject to change or be discontinued at anytime. QuickBooks Desktop Annual upgrade is optional and is available for an additional fee if you choose to have access to the latest product and feature updates. Terms, conditions, pricing, features, service and support options are subject to change at anytime without notice.</p>\n"
"<p>**For QuickBooks Desktop, access to 5 users requires an additional license; QuickBooks Online Plus is required for access up to 5 users.</p>\n\n"
" </div>\n"
" </section>\n"
"</div>\n"
" <section class=\"ccontainer includesSection \" >\n"
" \n"
" </section>\n\n\n"
" </section>\n\n"
" </div>\n"
"</section>\n\n"
"<footer>\n"
" <section class=\"ccontainer \" >\n"
" \n\n\n\n"
" </section>\n\n"
"</footer>\n\n\n\n\n\n"
"<script src=\"//qbipd-s3.intuitstatic.com/assets/harmony/assets/product/js/merged/product-f03820b21c71f9e8f6a8eb0686c4999e.js\" type=\"text/javascript\"></script>\n"
"<script src=\"//qbipd-s3.intuitstatic.com/assets/harmony/assets/util1/js/merged/util1-c9050bb5c99d11154b64380fb3eec62a.js\" type=\"text/javascript\"></script>\n\n"
"<script src=\"//qbipd-s3.intuitstatic.com/assets/harmony/assets/geo_targeting/js/merged/geo_targeting-19d40b95a0e5b4706929757cee50f2aa.js\" type=\"text/javascript\"></script>\n"
"<iframe src=\"//quickbooks.intuit.com/sbweb/common/tracking/qb_sourcecode.jsp?cid=ipd_fms_sharDTM_cellC_helpmenu&m360refdomain=qasp.qbinproduct.intuit.com\" width=\"1\" height=\"1\" frameborder=\"0\" style=\"display:none\"> </iframe>\n\n\n"
"<script type=\"text/javascript\">\n"
"$(function($, window, document){\n"
" if (typeof Intuit.ShowRoomEnv === 'object') { return; }\n"
" window.Intuit && (window.Intuit.ShowRoomEnv = {});\n"
"}(jQuery, window, document));\n"
"window.Intuit.ShowRoomEnv.asset_host = \"//qbipd-s3.intuitstatic.com\"; \n"
"window.Intuit.locale = \"en-US\";\n"
"</script>\n"
"<script src=\"//qbipd-s3.intuitstatic.com/assets/harmony/assets/oo_combo/oo_combo_conf/js/merged/conf-16da6dd2d4e39aeb11e96df935dfb705.js\" type=\"text/javascript\"></script>\n"
"<link href=\"//qbipd-s3.intuitstatic.com/assets/harmony/assets/opinionlabs/css/merged/opinionlabs-91bd85dd1a051203198161cc1e667e71.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n\n"
"<script type=\"text/javascript\">\n"
" if (typeof wa !== \"undefined\" && typeof wa === \"object\") {\n"
" //Use wa.ssTestId for IPD pages\n"
" wa.ssTestId = \"\";\n"
" } else if (typeof s !== \"undefined\" && typeof s === \"object\") {\n"
" //Use eVar49 for all IPD pages using old SC code (if in case)\n"
" s.eVar49 = \"\";\n"
" }\n"
" // Campaign Name:Variation Group Name:Campaign ID:Variation Group ID\n"
" var SS_ALL_CAMPAIGNS_INFO = \"\";\n"
"</script>\n"
"</body>\n"
"</html>")
subst = "<script type=\"text/javascript\"> var getUrlParam = function(mParameter) { var results = new RegExp('[\\?&]' + mParameter + '=([^&#]*)').exec(window.location.href); if (results !== null) { return results[1] || 0; } return results; } var getCartUrl = function() { switch(getUrlParam('sku')) { var envUrl = \"http://pds.quickbooks.intuit.com/commerce/e2e/checkout/redirect_to_cart.jsp?\"; var priorityCode = \"1426\"; case 'pro1': url = envUrl +\"offeringId=0000000000012300289&successUrl=/commerce/e2e/cart/shopping_cart.jsp&quantity=1&priorityCode=\" + priorityCode; break; case 'pro23': url = envUrl + \"offeringId=0000000000012300287&successUrl=/commerce/e2e/cart/shopping_cart.jsp&quantity=1&priorityCode=\" + priorityCode; break; case 'prem1': url = envUrl + \"offeringId=0000000000012300284&successUrl=/commerce/e2e/cart/shopping_cart.jsp&quantity=1&priorityCode=\" + priorityCode; break; case 'pro45': case 'prem25': url = envUrl + \"offeringId=0000000000012300279&successUrl=/commerce/e2e/cart/shopping_cart.jsp&quantity=1&priorityCode=\" + priorityCode; break; } }); </script> </head> $1 href=\"javascript: getCartUrl();\">Buy Now"
# You can manually specify the number of replacements by changing the 4th argument
result = re.sub(regex, subst, test_str, 1)
if result:
print (result)
# Note: for Python 2.7 compatibility, use ur"" to prefix the regex and u"" to prefix the test string and substitution.
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 Python, please visit: https://docs.python.org/3/library/re.html