I'm having a bit of trouble with string patterns. I have a list of songs and their Id's like so: list={"Name, ID#", ...}
I have a matching pattern that will separate the name and the ID so they can be used separately: name="[%s%a]+" Id="%d+"
This works fine except when there is a punctuation mark of some kind or number in the name. I know this is a simple problem but I'm still having a bit of trouble with string patterns. Is there a way to gather all characters up until the "," and then all the numbers after it?
I don't use String Patterns, but I believe you may be looking for %p which is any punctuation character.