From: Renato Co Date: 2013-08-05T06:56:13+09:00 Subject: Regex to extract numbers I have an array of links like this /ENETCONSULTA/frmGerenciaPaginaFRE.aspx?NumeroSequencialDocumento=5335&CodigoTipoInstituicao=2 I need to extract only the 5335, how could this be done using regular expressions? -- Posted via http://www.ruby-forum.com/.