<?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/"
	>

<channel>
	<title>Take number from string &#8211; Sibeesh Passion</title>
	<atom:link href="https://www.sibeeshpassion.com/tag/take-number-from-string/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Wed, 02 Jun 2021 15:16:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>Take number from string &#8211; Sibeesh Passion</title>
	<link>https://www.sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to replace number from a string in C#</title>
		<link>https://www.sibeeshpassion.com/how-to-replace-number-from-a-string-in-csharp/</link>
					<comments>https://www.sibeeshpassion.com/how-to-replace-number-from-a-string-in-csharp/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Wed, 24 Jun 2015 09:32:10 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[C# functions]]></category>
		<category><![CDATA[C# Regex]]></category>
		<category><![CDATA[code snippet]]></category>
		<category><![CDATA[find number]]></category>
		<category><![CDATA[Regex]]></category>
		<category><![CDATA[Replace number]]></category>
		<category><![CDATA[replace number from string]]></category>
		<category><![CDATA[separate number and string]]></category>
		<category><![CDATA[Take number from string]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=5401</guid>

					<description><![CDATA[In this pose we will see how to replace a number from a string in C#. We can do this in several ways. Here I am going to show you one. I hope you will like this. Consider following is my string. [csharp] String myString = &#34;MyString1&#34;; [/csharp] And I need to take out the number 1 from the value MyString1. What will we do? To do this we can use Regex class in C#. Following is the code to achieve the same 🙂 [csharp] myString = Regex.Replace(sortdatafield, @&#34;[\d-]&#34;, string.Empty); [/csharp] Once you done and Run, you will get the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In this pose we will see how to replace a number from a string in C#. We can do this in several ways. Here I am going to show you one. I hope you will like this.</p>
<p>Consider following is my string.</p>
<p>[csharp]<br />
String myString = &quot;MyString1&quot;;<br />
[/csharp]</p>
<p>And I need to take out the number <em>1 </em>from the value <em>MyString1</em>. What will we do?</p>
<p>To do this we can use Regex class in C#. Following is the code to achieve the same 🙂</p>
<p>[csharp]<br />
myString = Regex.Replace(sortdatafield, @&quot;[\d-]&quot;, string.Empty);<br />
[/csharp]</p>
<p>Once you done and Run, you will get the new value  without numbers (<em>&#8220;MyString&#8221;</em>) in the variable <em>myString</em></p>
<p>I hope someone found this useful. Happy Coding 🙂</p>
<p>Kindly see my code snippets <a href="http://sibeeshpassion.com/category/code-snippets/" target="_blank" rel="noopener">here</a></p>
<p>Kindest Regards<br />
<a href="https://plus.google.com/+sibeeshkv" target="_blank" rel="noopener">Sibeesh Venu</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/how-to-replace-number-from-a-string-in-csharp/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to take numbers from a string in C#</title>
		<link>https://www.sibeeshpassion.com/how-to-take-numbers-from-a-string-in-csharp/</link>
					<comments>https://www.sibeeshpassion.com/how-to-take-numbers-from-a-string-in-csharp/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Wed, 24 Jun 2015 09:24:03 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[C# functions]]></category>
		<category><![CDATA[C# Regex]]></category>
		<category><![CDATA[code snippet]]></category>
		<category><![CDATA[find number]]></category>
		<category><![CDATA[Regex]]></category>
		<category><![CDATA[separate number and string]]></category>
		<category><![CDATA[Take number from string]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=5381</guid>

					<description><![CDATA[Consider following is my string. [csharp] String myString = &#34;MyString1&#34;; [/csharp] And I need to take out the number 1 from the value MyString1. What will we do? To do this we can use Regex class in C#. Following is the code to achieve the same 🙂 [csharp] myString = Regex.Match(myString , @&#34;\d+&#34;).Value; [/csharp] Once you done and Run, you will get value 1 in the variable myString I hope someone found this useful. Happy Coding 🙂 Kindest Regards Sibeesh Venu]]></description>
										<content:encoded><![CDATA[<p>Consider following is my string.<br />
[csharp]<br />
String myString = &quot;MyString1&quot;;<br />
[/csharp]</p>
<p>And I need to take out the number <em>1 </em>from the value <em>MyString1</em>. What will we do?</p>
<p>To do this we can use Regex class in C#. Following is the code to achieve the same 🙂</p>
<p>[csharp]<br />
myString = Regex.Match(myString , @&quot;\d+&quot;).Value;<br />
[/csharp]</p>
<p>Once you done and Run, you will get value <em>1</em> in the variable <em>myString </em></p>
<p>I hope someone found this useful. Happy Coding 🙂</p>
<p>Kindest Regards<br />
<a href="https://plus.google.com/+sibeeshkv" target="_blank" rel="noopener">Sibeesh Venu</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/how-to-take-numbers-from-a-string-in-csharp/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
