in reply to Re: Regex Substitution
in thread Regex Substitution

s/(-)?(\d+)/ $1 ? "S" : $2 ? "L" : "Q" /e;

Skips the numeric conversion part. :-)

---
demerphq