007 has the same value as 7. Numbers are all about value. Therefore, 007 is 7. And because the same thing can’t be different (or it wouldn’t be the same)… off with the zeros. Like heads rolling. That may seem shallow and brutal and stupid for us artists, but for a computer, it’s sublime.

Good thing we have symbols.

— Pasted Max Patch, click to expand. —

Copy all of the following text. Then, in Max, select New From Clipboard.

Should I generally assume that any element proceeding .* will reference the last instance of that element? In this case, there were multiple slashes. Some of my initial attempts generated weird slicing at the first or middle slash.

Hah Ak, it is nice, though i don’t get it… where is the "capture group" for the substitution in what you just made ? and how comes a "or" operator does the trick… from my undertstanding the "or" here matches "/" or "\." .. or does it mean "substitute anything that is either ‘.*/’ or ‘\..*’ " ???
edit : oh, ok, so it seems to be that indeed, and it works also if reversing the ‘.*/’ and ‘\..*’. Interesting !

<code>

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

Copy all of the following text. Then, in Max, select New From Clipboard.