quick help with regexp?

karl krach's icon

hi,
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 xx_yyyy.mov 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".

04_0576.mov > 0576

pleeeeaaaaase! :)

Guillaume Evrard's icon

hi,

Max Patch
Copy patch and select New From Clipboard in Max.

a quick and dirty solution :

g

karl krach's icon

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

! :)

Luke Hall's icon

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

Max Patch
Copy patch and select New From Clipboard in Max.

lh