I have this string from a scene name: name "Song title one 106 BPM"
And i want it to be just "Song title one". The following regex is working, but I think there is an easier and faster way, but I don’t know how.
Any help is appreciated
I think this would work too
Yup it does / thank you
I found an additional issue though.
If I for some reason don’t want to put in a tempo in one song title it will fail. Can I make it so the 123 BMP is optional?
regexp name([a-zA-Z|\s]*)? of course worked.
Thank you :)
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions