Q:

javascript regular expression to match a word and followed by digits

I need a regular expression to match a word exactly and immediatly followed by some digits in javascript.
In the below example url, i have to match exactly -t followed by digits 10, digits may change. 
in the below url, it should match -t and 10. 
priceangels.com/mouse-pads-t10.html
another example url :priceangels.com/apple-t275.html, here it should match -t followed by 275.
please help me with explanation.

A:

How about:
var regex = /-t\d+/;

