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 //
More Related Contents:
- Find list of strings that matches a pattern that start with a special character « and end with a special character »
- Javascript Regex for decimal [duplicate]
- How to replace plain URLs with links?
- Regular expression to get a string between two strings in Javascript
- Regex to get string between curly braces
- Validate phone number with JavaScript
- What is the meaning of the ‘g’ flag in regular expressions?
- What is the difference between RegExp’s exec() function and String’s match() function?
- Is there a version of JavaScript’s String.indexOf() that allows for regular expressions?
- split string only on first instance of specified character
- Remove HTML Tags in Javascript with Regex
- How to replace last occurrence of characters in a string using javascript
- Validating user’s UTF-8 name in Javascript
- regular expression to match exactly 5 digits
- Javascript regular expression to validate URL
- Split a string by whitespace, keeping quoted segments, allowing escaped quotes
- How to wrap part of a text in a node with JavaScript
- Increment a number in a string in with regex
- Insert space before capital letters
- how to use dotall flag for regex.exec()
- regular expression for finding decimal/float numbers?
- regex pattern to match the end of a string
- How to remove square brackets in string using regex?
- Regular expression with the cyrillic alphabet
- Only numbers. Input number in React
- Extract parameter value from url using regular expressions
- RegEx Ignore Case
- Javascript – regex – word boundary (\b) issue
- How to properly escape characters in regexp
- How to loop all the elements that match the regex?