I have the following strings: lec-01.tex, lec-02.tex, ..., lec-10.tex, lec-11.tex, ... How can I parse these strings and get only the digits? Like, for the string lec-01.tex, how can I get only 1 and for lec-11.tex, how can I get only 11?
Asked
Active
Viewed 32 times
0
SingularisArt
- 487
\figfolder\lecprefix\lecnum\lecextensionand\lecfolder\lecprefix\lecnum\lecextensionwith\lecnumas the "source"? – Cicada Nov 12 '22 at 14:19