in reply to regular expression- match a string

if (/^Subject:\s+(.*)/) {$subject = $1}

Abigail