The answer is already there, I will add it. If the prefix is quote_ABC, it is best to write quote_ABC in the third digit to confirm whether the requirement is just a number and whether there will be double quotes in the following single quotes. In addition, forEach is an ES5 API
If the composition format is fixed, it can be like this:
str.split("_")[2];
or lastIndexOf gets the last "_" position and intercepts the following string,
For sure, I’m not very familiar with it, so I just use it and look it up. I’ll add more later downstairs
In php, the expression "/(1+)='(w+)';$/" can extract the characters on both sides of the equal sign
Regular php:
explode php:
The answer is already there, I will add it. If the prefix is quote_ABC, it is best to write quote_ABC in the third digit to confirm whether the requirement is just a number
and whether there will be double quotes in the following single quotes. In addition, forEach is an ES5 API