View Single Post
Old 10-04-2024, 08:30 AM   #9
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,675
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
In the meantime, the OP still should be able to achieve what they want with a regex of:
Code:
\.(\d+)_jpg
and a replacement of:
Code:
fig\1.jpg
That keeps both the chapter number and the figure number and places the proper .jpg extension at the end.

Last edited by DiapDealer; 10-04-2024 at 08:32 AM.
DiapDealer is offline   Reply With Quote