When writing regular expressions in VEX, use raw strings. Write the character r before the regex line:string num = re_find(r"(\d+)$", s);When using groups in the re_replace() function, also use raw strings and \1 syntax to get groups. $1 syntax from the help does not work:s@material = re_replace(r".(.).*$", r"\1", s@name);

This is a simple python script to print filenames in all Write nodes from Nuke: To run this script you can save it to file .py and run from File/Run Script menu (Alt + X).The result will be printed in the Script Editor (right click to any content menu, Windows/Script Editor).You can change Write to … Continue reading "Print filenames from Nuke"

If you are a freelancer or work in a small studio, you may not have an automatic cleanup and backup system for projects. This greatly affects the free space on the storage. And cleaning up previous projects takes a long time when you don't have enough space for the current project. The best way to … Continue reading "Project cleanup script"