Home > Back-end >  After regular expression how to position the first minus number
After regular expression how to position the first minus number

Time:09-23

ST2.11-12 b1-1690
ST2.1-12 b1-1690222
ST2.12-12 b1-16903
ST2.1-12 b1-169011
ST2.121-12 b1-1690
ST2.1-12 b1-169022
About the length of the string is different, seemingly only with regular?
This string of Numbers, for example, how to put - 12 of 12 b intercept out

CodePudding user response:

If there must be two short rod, can in this way,
[code] - (\ d +). *? - [/code]
  • Related