Jump to content
UBot Underground

How to scrap all html content between tags


Recommended Posts

Hi all

 

I want to scrap content between tag attributes, I was try with some regex to scrap this content but not work. Please help me to find regex match  with this content

<section class='article-content'>

<p>BERLIN — For most visitors of IFA 2014, the largest consumer electronics show in Europe has just begun. For journalists, however, all that's left is to recover from seemingly endless wandering through Messe's (the Berlin venue where the show is held) convoluted hallways and recap the intense couple of days behind them. </p>
<div class="see-also"><p>See also: <a href="http://mashable.com/2014/09/05/samsung-connected-home-vision-2014/" data-crackerjax="#post-slider">Samsung's Vision for the Connected Home: Even the Walls Will Move</a></p></div>
<p>We got what we <a href="http://mashable.com/2014/09/02/ifa-berlin-2014-what-to-expect/" data-crackerjax="#post-slider">expected</a>, and then some — the heavyweights of the tech world, including <a href="http://mashable.com/2014/09/02/samsung-galaxy-note-4-live-blog/" data-crackerjax="#post-slider">Samsung</a>, <a href="http://mashable.com/2014/08/27/lg-g-watch-specs-picture/" data-crackerjax="#post-slider">LG</a>, <a href="http://mashable.com/2014/09/03/asus-zenwatch/">Asus</a> and <a href="http://mashable.com/2014/09/03/sony-smartwatch-3-smart-band-talk/">Sony</a>, all brought their new smart wearables to the show, and added a couple of tablets, smartphones and enormous TVs in the process. </p>
<h3>The cool stuff</h3>
<p>Innovation-wise, Samsung deserves a pat on the back for trying something new with its smartphone-enabled virtual reality headset <a href="http://mashable.com/2014/09/03/samsung-gear-vr/" data-crackerjax="#post-slider">Gear VR</a>. We also liked Alcatel's <a href="http://mashable.com/2014/09/04/alcatel-magic-flip-cover/" data-crackerjax="#post-slider">smart smartphone cover</a> prototype (yeah, even the covers are getting smarter) and Kobo's <a href="http://mashable.com/2014/09/06/kobo-aura-h20-hands-on/" data-crackerjax="#post-slider">waterproof e-reader</a> (the first of its kind, as far as we know). During a showcase of its vision of a smart house, which was seen at this year's CES, Sony did show us a very cool new prototype: the Portable Ultra Short-Throw Projector (pictured below), a small waterproof device that can turn any surface in your house into a 23-inch screen.</p>
<figure class="image"><p><img data-credit-link="" data-credit-name="Stan Schroeder, Mashable" data-credit-label="" data-credit-provider="Custom type" data-caption="Sony's Portable Ultra Short Throw Projector prototype." title="Sony projector" src="http://rack.3.mshcdn.com/media/ZgkyMDE0LzA5LzA3L2EwL1Nvbnlwcm9qZWN0LjdhY2QwLmpwZwpwCXRodW1iCTEyMDB4OTYwMD4/be39dbb6/c29/Sony-projector-640x360.jpg" alt="Sony projector" class="" data-width="640" data-fragment="m!8c52" data-image="http://rack.3.mshcdn.com/media/ZgkyMDE0LzA5LzA3L2EwL1Nvbnlwcm9qZWN0LjdhY2QwLmpwZwpwCXRodW1iCTEyMDB4OTYwMD4/be39dbb6/c29/Sony-projector-640x360.jpg" data-micro="1"></p>
<figcaption class="image-caption"><p>Sony's Portable Ultra Short Throw Projector prototype.</p></figcaption><div class="image-credit"><p>Image:  Stan Schroeder,  Mashable</p></div></figure><p>While there was no lack of innovative gadgets at the show, there were some that are pretty unlikely to cause a big splash. Sony lets you go smartphone-photography crazy with its new <a href="http://mashable.com/2014/09/03/sony-ilce-qx1-dsc-qx30/" data-crackerjax="#post-slider">lens-style cameras</a>, but for the same price you can just buy a decent, regular camera. Samsung's semi-curved <a href="http://mashable.com/2014/09/03/samsung-galaxy-edge/" data-crackerjax="#post-slider">Galaxy Edge</a> looks beautiful and does some clever tricks, but I'm not sure it does anything better than a regular smartphone. </p>
<h3>Phones that aren't dumb</h3>
<p>Those, of course, were not in short supply at IFA. In the absence of true flagship devices, the keyword was "<a href="http://mashable.com/2014/09/04/nokia-lumia-830/" data-crackerjax="#post-slider">affordable flagship</a>," which is marketingese for trying to make a mid-range phone look like a flagship. Nokia did a pretty good job of proving its new phone's cameras are better than the competition — especially when it comes to <a href="http://mashable.com/2014/09/04/nokia-lumia-735-hands-on/" data-crackerjax="#post-slider">taking selfies</a>. </p>
<p>Also worthy of mention were the pen-equipped <a href="http://mashable.com/2014/08/26/lg-g3-stylus/" data-crackerjax="#post-slider">LG G3 Stylus</a> and <a href="http://mashable.com/2014/09/04/lenovo-vibe-x2-vibe-z2/" data-crackerjax="#post-slider">Lenovo's Vibe X2</a>, with its "layered" and semi-modular design, which not only makes the phone a little bit different from the rest of the pack, but also lets you add extensions, such as an extra battery.</p>
<figure class="image"><p><img data-credit-link="" data-credit-name="Jennifer Osborne, Mashable" data-credit-label="" data-credit-provider="Custom type" data-caption="Lenovo's Vibe X2 has a layered, semi-modular design. " title="Lenovo's Vibe X2" src="http://rack.3.mshcdn.com/media/ZgkyMDE0LzA5LzA3LzAzL0lGQTIwMTQuQmVyLjNmYjg0LmpwZwpwCXRodW1iCTEyMDB4OTYwMD4/dfce908a/343/IFA2014.Berlin_Lenova15Strip-640x360.jpg" alt="Lenovo's Vibe X2" class="" data-width="640" data-fragment="m!81ca" data-image="http://rack.3.mshcdn.com/media/ZgkyMDE0LzA5LzA3LzAzL0lGQTIwMTQuQmVyLjNmYjg0LmpwZwpwCXRodW1iCTEyMDB4OTYwMD4/dfce908a/343/IFA2014.Berlin_Lenova15Strip-640x360.jpg" data-micro="1"></p>
<figcaption class="image-caption"><p>Lenovo's Vibe X2 has a layered, semi-modular design. </p></figcaption><div class="image-credit"><p>Image:  Jennifer Osborne,  Mashable</p></div></figure><p>Sony did launch a new flagship phone: the <a href="http://mashable.com/2014/09/03/sony-xperia-z3/" data-crackerjax="#post-slider">Sony Xperia Z3</a>, and its smaller-but-equally-powerful brother, the Xperia Z3 Compact. Though neither device is all that different from its previous iteration, one has to admit that Sony is not straying from its mission to bring powerful, waterproof and uncompromising (the Z3 Compact is smaller, but packs the same power as the Z3) smartphones to the market. </p>
<h3>A computer for your wrist — or finger</h3>
<p>Depending on how you look at smart wearables, this year's IFA was either very exciting or a bit disappointing. I tend to fall into the latter camp — <a href="http://mashable.com/2014/09/03/asus-zenwatch/" data-crackerjax="#post-slider">Asus' ZenWatch</a> and LG's G Watch R are all definitely a step forward, especially from a design standpoint, but I still haven't seen any smartwatch features that really make me want to buy one. </p>
<figure class="image"><p><img data-credit-link="" data-credit-name="Jennifer Osborne, Mashable" data-credit-label="" data-credit-provider="Custom type" data-caption="LG G Watch R" title="LG G Watch R" src="http://rack.2.mshcdn.com/media/ZgkyMDE0LzA5LzA3L2U2L0lGQTIwMTRfRmxvLjQzZTA1LmpwZwpwCXRodW1iCTEyMDB4OTYwMD4/42948224/219/IFA2014_Floor39LG-640x360.jpg" alt="LG G Watch R" class="" data-width="640" data-fragment="m!0269" data-image="http://rack.2.mshcdn.com/media/ZgkyMDE0LzA5LzA3L2U2L0lGQTIwMTRfRmxvLjQzZTA1LmpwZwpwCXRodW1iCTEyMDB4OTYwMD4/42948224/219/IFA2014_Floor39LG-640x360.jpg" data-micro="1"></p>
<figcaption class="image-caption"><p>LG G Watch R</p></figcaption><div class="image-credit"><p>Image:  Jennifer Osborne,  Mashable</p></div></figure><p><a href="http://mashable.com/2014/09/03/sony-smartwatch-3-smart-band-talk/" data-crackerjax="#post-slider">Sony's SmartWatch 3</a> went a different route: instead of trying to look like a luxury watch, it's more of a fitness-tracker with an emphasis on voice control. </p>
<p>As far as the countless other companies that are trying to jump on the wearables bandwagon — like MOTA, who unfortunately was not able to show us a working prototype of its <a href="http://mashable.com/2014/09/02/mota-smart-ring-vibrates/" data-crackerjax="#post-slider">smart ring</a> — sorry, you're just not quite there yet. </p>
<h3>No flat TVs allowed</h3>
<p>If you want to imagine what it was like really being at IFA this year, disregard everything you just read, and think of an endless array of really, really big curved TVs. Yeah, all that other stuff was there as well, but television sets dominated the huge booths of Samsung, LG, Sony and Panasonic. </p>
<p>And while we saw the usual Samsung-LG rivalry, with both companies trying to one up one another with <a href="http://mashable.com/2014/09/05/samsung-105-inch-bendable-tv/">big ultra HD TVs</a> with <a href="http://mashable.com/2014/09/05/lg-8k/" data-crackerjax="#post-slider">ever-increasing resolutions</a>, the biggest curved UHD TV on the show (pictured below) was actually brought by Chinese company TCL. Sorry, fellas. </p>
<figure class="image"><p><img data-credit-link="" data-credit-name="" data-credit-label="" data-credit-provider="Custom type" data-caption="TLC's 110-inch curved UHD TV." title="TLC's 110-inch curved UHD TV." src="http://rack.1.mshcdn.com/media/ZgkyMDE0LzA5LzA3LzU3L0RTQ18wMTM2NjQwLjU1NWM0LmpwZwpwCXRodW1iCTEyMDB4OTYwMD4/36be0f76/5ed/DSC_0136-640x360.jpg" alt="TLC's 110-inch curved UHD TV." class="" data-width="640" data-fragment="m!a34a" data-image="http://rack.1.mshcdn.com/media/ZgkyMDE0LzA5LzA3LzU3L0RTQ18wMTM2NjQwLjU1NWM0LmpwZwpwCXRodW1iCTEyMDB4OTYwMD4/36be0f76/5ed/DSC_0136-640x360.jpg" data-micro="1"></p>
<figcaption class="image-caption"><p>TLC's 110-inch curved UHD TV.</p></figcaption><div class="image-credit"></div></figure><p>As for the fact that most high-end models we saw were curved, <a href="http://mashable.com/2014/09/05/samsung-105-inch-bendable-tv/" data-crackerjax="#post-slider">Samsung's 105-inch TV</a>, whose screen can go from flat to curved at will, tells the whole story: even the manufacturers are unsure whether a curved screen is actually desirable or if it's just a gimmick.</p>
<h3>Till next year...</h3>
<p>Summing IFA 2014 up in a few words, it was all about huge TVs, increasingly smarter but not-quite-there-yet wearable tech and finding ways to make smartphones and tablets more interesting, be it by waterproofing, screen-bending or adding nifty accessories. </p>
<p>For me, though, this Berlin wrap-up feels oddly inconclusive. In a few days, Apple will show off its new iPhone — or iPhones — possibly a smartwatch and <a href="http://mashable.com/2014/09/06/apple-iphone-6-iwatch-rumors/" data-crackerjax="#post-slider">who knows what else</a>, and the rules of the game will change again. The fallout on the rest of the industry will likely be truly felt in February 2015, at the Mobile World Congress in Barcelona, and we'll be there to jot down every minute of it. </p>
<p><em>Have something to add to this story? Share it in the comments.</em></p>




</section>

How to scrap content between <section class='article-content'>content include html tag....</section> ? and I want scrap include html tag.

 

Thanks

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...