How do I get the middle value of a string using Regexp in JS?

后端 未结 0 1422
别跟我提以往
别跟我提以往 2020-12-14 00:53

I need to get everything but the first 6 digits and last 4 of a card number without special chars, which is a string that can be as follow:

4500 1234 5678 7654 Or 450

相关标签:
回答
  • 消灭零回复
提交回复
热议问题