How can I use regex to get all the characters after a specific character, e.g. comma (“,”)

You don’t need regex to do this. Here’s an example :

var str = "'SELECT___100E___7',24";
var afterComma = str.substr(str.indexOf(",") + 1); // Contains 24 //

Leave a Comment