Check out the regular expression I created:
^[0-9\(\)\*\+\/\-\sd]*$
This regex is designed to match patterns such as: '2d6', '(3d6) + 3', and more.
However, it also mistakenly matches: '3d'
My goal is to ensure that any instance of 'd' is always immediately followed by at least one digit.