- A function that accepts a group of objects and a prefix, finds the class names with a regular expression of that prefix, then outputs an array of the unique class names
- This function has a very niche usage but the concept may be used in some other ways to find unique items in a group
- Uses jQuery and regular expressions
Open index.html in a web browser to test.