Extract word using regex

My bad this one now is perfect
System.Text.RegularExpressions.Regex.Matches(str,“(TSM001-\d+)”)(0).Value
Happy Automation…!

Regards,
Shaf