我需要使用正则表达式提取出该字符串中间的数字:
```regex (?<=\d)\d+(?=\d) ```
```regex (?<=\d)\d+(?=\d) ```
/166012342170/934760332134/794294808150/2436280815794/
需要的输出:934760332134
我尝试使用这个:(?:.+?/){2}
我对正则表达式很陌生 :(
^/[^/]+/\K[^/]+
。 - Wiktor Stribiżew^/\d+/(\d+)
https://regex101.com/r/dzMrXh/1 - The fourth birdpathname
,然后在/
字符上分割。没有真正需要复杂的正则表达式。 - jrook