Regex help

I have a string like

ABD - This is some sample text

what would the regex expression be to capture the text after the -
LVL 9
JonMnyAsked:
Who is Participating?
 
Adam314Connect With a Mentor Commented:
/-(.*)$/
0
 
jazahnCommented:
$string = "ABD - This is some sample text";
$string =~ /-(.*)$/;
$match = $1;

print $match;
0
All Courses

From novice to tech pro — start learning today.