Hi,

here is a pattern "(#+)|(%\d\d?d)". Just did a quick test but should do the 
work.

Best

Sebastian

Am 11.11.2011 um 10:53 schrieb Fredrik Averpil:

> Hi,
> 
> How would you guys go about searching for the frame numbering #### or %04d 
> inside a filename?
> 
> I'd like to be able to search for the numbering in filenames with any number 
> of periods in the filename;
> - this.is.the.name.of.the.script.####.exr
> - this.is.frame.no.####.of.the.script.exr
> - ####.exr
> ...etc
> 
> Regular expressions?
> 
> 
> // Fredrik
> 
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python


_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to