Forums > Jitter

quick help with regexp?

Jan 27 2010 | 5:56 pm

i’m trying to split up a filename into it’s parts which should be a matter of seconds for someone who is familiar with perl but to me this regexp-syntax is a complete mystery… could please someone give me a hand with this?

my files are named where xx is a number and yyyy the framecount. in the end i need the framecount as integer so basically i need something like "strip away .mov and then take the last 4 characters". > 0576

pleeeeaaaaase! :)

Jan 27 2010 | 6:13 pm


a quick and dirty solution :

-- Pasted Max Patch, click to expand. --


Jan 27 2010 | 6:19 pm

might be dirty but i’m really happy. works perfectly. thank you so much!

! :)

Jan 28 2010 | 1:17 am

Just a bit neater. Nice [combine] trick, I wouldn’t have thought of using it to do that.


-- Pasted Max Patch, click to expand. --

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > Jitter