From: Hai anh Le Date: 2008-11-27T23:29:04+09:00 Subject: reg exp Hi every body. I'm a newbie in Ruby and have problem with reg exp. In one string as example "The device 13c include something as in Fig. 2a and 3b", I want to detect some numbers have style "13c" and ignore others number have style "2a and 3b" I use /(\d+[a-z]*)( [^a][^n][^d] )(\d)+[a-z]*/ but it not ok. Can someone help me plz? -- Posted via http://www.ruby-forum.com/.