David Smith

David Smith

  • NA
  • 2k
  • 0

Regular expressions

Aug 11 2011 7:13 PM

How do i pull the number from  this string     "Emample_ColorRevA.Page1"

I want to be able to pull the number 1 using regular expressions, can someone assist me.



"Emample_ColorRevA.Page1"               Result would be 1
"Emample_ColorRevB.Page2"               Result would be 2
"Emample_ColorRevB.Page234"            Result would be 234


How can I only get the number from the strings

Answers (21)