I want to use a regex to replace negative numbers with "S" and positive ones with "L". I expect the numbers to be multiple digits (so, "123" should produce "L", "-13763" should produce "S").
Should be simple, but I want to do it in a single regex if possible. Obviously possible to do in many ways, but I'd like to limit this to regexes to fit it neatly into my overall scheme. Any advice?