I am having trouble on finding a way just to keep a 4 digit or 5 digit number.
My products have a 4 or 5 digit sku and a description as a file name. I am wanting the file name to be just the sku number. Unfortunately when the person created the files they didnt keep a uniform way of writing the name, so some time sku is first other times its at the end. I know if there is a 4 digit or 5 digit number it will be the sku
ZL02.5largedish3344.pdf - 3344.pdf
zl02.44567largeplate.pdf - 44567.pdf
Thanks to anyone who can help