re = /\A\/?([0-9]+)-([^_-]+)-(\w+)$/puts "201-Grandview-Dr_Early_TX_76802"[re]puts "/50-Washington-St"[re]
Standard input is empty
201-Grandview-Dr_Early_TX_76802 /50-Washington-St
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!