Posts by Pedro Maimere • 124 points
1 post
-
0
votes2
answers84
viewsA: How to pick a number in the middle of a string
The regex below identifies all strings composed by digits of 0 to 9 1 to 4 characters long, surrounded by bars (/). /(?<=\/)\d{1,4}(?=\/)/g In this way, the digits of alphanumeric parts, such as…