From: Manuel Manu00 Date: 2010-06-23T00:36:17+09:00 Subject: Extract value Hello I would like to parse or regexp the following string : in order to keep only this : pub-9423056098431875 (and store it in a base) I tried with regexp : ((google_ad_client = \"pub-)(.*?)(\";)) but it's not working. and i don't know which function to use (split ? splice ?) and how to proceed... I'm n00b in Ruby, sorry. Thank you very much for your help -- Posted via http://www.ruby-forum.com/.