Regular Expressions in Max/MSP

Here’s a tutorial patch explaining how to use regular expressions with the [regexp] object in Max to parse text. It shows a few different techniques and includes examples of each. The code is below in JSON format so Max4 users can convert it and take a look too. Copy it into a new window, switch out of edit mode and click the titles to view them one by one. There are quite a few more complicated things you can ask regular expressions to do and if I ever find repeated uses for them I will try to add these topics to the file as well. Continue reading…

Advertisements