Hi all. I'm looking for the regex that seeks out a leading whole number (1,2,3...30) optionally followed be a period, and removes it. My original attempt was
not working tho. Suggestions? TIA
A clever person solves a problem.
A wise person avoids it.
-- Einstein
Code:
s/^[1-30]\.?//;
A clever person solves a problem.
A wise person avoids it.
-- Einstein