Extract substring from filename
Posted: Wed Nov 06, 2013 9:25 am
Hi,
is it possible to extract a substring (defined by regex or length) from the filename to "plot" it as text into the image?
I have files with names like
"1000x some words and numbers.jgp" or "250x some other words.jpg"
and want to extract the beginning number "1000" respectively "250" (the subsequent "x" may be included)
thanks in advance
is it possible to extract a substring (defined by regex or length) from the filename to "plot" it as text into the image?
I have files with names like
"1000x some words and numbers.jgp" or "250x some other words.jpg"
and want to extract the beginning number "1000" respectively "250" (the subsequent "x" may be included)
thanks in advance
