Hi...

I want to extract mark1=90 from the string mark1=90 For English3 & English2. And I tried the following code. But it doesn't seems to be working because it is returning blank value
BTW, I'm not good in RegEX.

vb Code:
  1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  2.         Dim strTemp As String
  3.  
  4.         strTemp = "mark1=90 For English"
  5.  
  6.         Dim aa As New System.Text.RegularExpressions.Regex("^[0-9]+$")
  7.  
  8.         MessageBox.Show(aa.Match(strTemp).Value)
  9.  
  10.     End Sub

Any help would be great... Thanks...