How to Convert a String into a Regular Expression in js
var? regStr? =? /iOs/ig '
var? Regular expression? =? eval(regStr)
RegExp.test('dksiOssd') aims to convert strings into regular expressions according to topics. I wonder if I have correctly understood the meaning of the topic: