<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>blazt.com &#187; regex application in perl</title>
	<atom:link href="http://merlyscaria.wordpress.com/category/regex-application-in-perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://merlyscaria.wordpress.com</link>
	<description></description>
	<lastBuildDate>Wed, 15 Jul 2009 05:33:42 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='merlyscaria.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/c31d1c09edbc8e5b7c0729dceed093df?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>blazt.com &#187; regex application in perl</title>
		<link>http://merlyscaria.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://merlyscaria.wordpress.com/osd.xml" title="blazt.com" />
		<item>
		<title>extracting patterns in perl</title>
		<link>http://merlyscaria.wordpress.com/2008/12/23/extracting-patterns-in-perl/</link>
		<comments>http://merlyscaria.wordpress.com/2008/12/23/extracting-patterns-in-perl/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 01:14:36 +0000</pubDate>
		<dc:creator>merly</dc:creator>
				<category><![CDATA[regex application in perl]]></category>
		<category><![CDATA[pattern matching in perl]]></category>

		<guid isPermaLink="false">http://merlyscaria.wordpress.com/?p=74</guid>
		<description><![CDATA[In many applications we may need to extract certain numbers , characters or even a mixture of characters ans numbers from sentences&#8230;.
the below code will help you 
consider the below example 
eg:     id #23517348 &#8211; from reply
Our aim is to extract 23517348 from the above data
regex for extracting is:- /(\d+)/
=====================================
my $sub=$::FORM{desc&#8217;}; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merlyscaria.wordpress.com&blog=2300345&post=74&subd=merlyscaria&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In many applications we may need to extract certain numbers , characters or even a mixture of characters ans numbers from sentences&#8230;.<br />
the below code will help you </p>
<p>consider the below example </p>
<p>eg:     id #23517348 &#8211; from reply</p>
<p>Our aim is to extract 23517348 from the above data</p>
<p>regex for extracting is:- /(\d+)/</p>
<p>=====================================<br />
my $sub=$::FORM{desc&#8217;}; // suppose sub prints the data<br />
                   id #23517348 &#8211;    from reply    </p>
<p>#print &#8220;$sub&#8221;;<br />
$sub =~/(\d+)/;<br />
print &#8220;$1&#8243;;</p>
<p>=======================<br />
Output<br />
=====<br />
23517348</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/merlyscaria.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/merlyscaria.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/merlyscaria.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/merlyscaria.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/merlyscaria.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/merlyscaria.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/merlyscaria.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/merlyscaria.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/merlyscaria.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/merlyscaria.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=merlyscaria.wordpress.com&blog=2300345&post=74&subd=merlyscaria&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://merlyscaria.wordpress.com/2008/12/23/extracting-patterns-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/669e31be3d236b5be22af924547d7b5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">merly</media:title>
		</media:content>
	</item>
	</channel>
</rss>