RegEx match specific pattern in a text "[d-n]" : <p>What would be a regex for matching "[d-n]", where n is any number?</p>

<p>i.e.
Test_4_[d-123] - returns ideally only 123</p>

<p>or, if I can return [d-123] I could make some string formatting.</p>
