title: Regular expression to remove any currency symbol from a string?
body: <p>I'm trying to remove any currency symbol from a string value.</p>
  
  <pre><code>using System;
  using System.Windows.Forms;
  using System.Text.RegularExpressions;
  
  namespace WindowsFormsApplication1
  {
      public partial class Form1 : Form
      {
          string pattern = @"(\p{Sc})?";
          public Form1()
          {
              InitializeComponent();
          }
  
          private void Form1_Load(object sender, EventArgs e)
          {
              decimal x = 60.00M;
              txtPrice.Text = x.ToString("c");
          }
  
          private void btnPrice_Click(object sender, EventArgs e)
          {
              Regex rgx = new Regex(pattern);
              string x = rgx.Replace(txtPrice.Text, "");
              txtPrice.Text = x;
          }
      }
  }
  // The example displays the following output:
  // txtPrice.Text = "60.00";
  </code></pre>
  
  <p>This works, but it won't remove currency symbols in Arabic. I don't know why.</p>
  
  <p>The following is a sample Arabic string with a currency symbol.</p>
  
  <pre><code>txtPrice.Text = "ج.م.‏ 60.00";
  </code></pre>