Quantcast
Channel: CodeProject Latest postings for Regular Expressions
Viewing all articles
Browse latest Browse all 224

regex pattern in order to get a list of numbers from a string

$
0
0
Hi there:

Suppose I have a string with “1: a string, 2: other 5 string, 3: something 8; else”, what would be the regex pattern to obtain “1,2,3” as a result

Thank you in advance,

Rafael

Viewing all articles
Browse latest Browse all 224

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>