From: Erez Ben shoham Date: 2012-09-03T16:02:35+09:00 Subject: Extract # Number from a string Hi I have a string how can i extract the number after the # sign? examples: old_string = "this is _ a 76string / #123 like 456" new_string = "123" old_string = "435 bill#198777 bgt" new_string = "198777" old_string = "my_name#9_is?" new_string ="9" Thanks -- Posted via http://www.ruby-forum.com/.