search for: 1234_

Displaying 1 result from an estimated 1 matches for "1234_".

Did you mean: 1234
2006 Jun 07
8
erb Regex ?
Hi Got a column named ''sku'' in a table named ''product'' <%= product.sku %> ...looks like this.... ''1234_56'' These last two chars (56) are an audio Track number. I ultimately want to display: Track <%= product.sku %> I can isolate the first part with /\d+\_/ = 1234_ But can''t figure out how to get the last two chars ...... 56 Can someone point me to a source for tha...