How can I get the number that is between parenthesis from the end of string?
如何从字符串末尾获取括号之间的数字?
-
filename(1)
- I will get1
- filename(1) - 我会得到1
-
filename(12)
- I will get12
- filename(12) - 我会得到12
-
filename(0)
- I will get0
- filename(0) - 我会得0
-
file(4)name
- I will get nothing - 文件(4)名称 - 我什么也得不到
-
(4)filename
- I will get nothing - (4)文件名 - 我什么也得不到
-
filename4
- I will get nothing - filename4 - 我什么都没得到