in reply to Two regex problems (easy)
Your first regexp was very close. You want to match more than one alphanumeric.
$line =~ m/([a-zA-Z0-9]+)$/;
Two other points:
For your second problem, you're looking for the text between two backslashes that is followed by a space:
m{\\([a-zA-Z0-9]+)\\\s}
|
|---|