+ 2

Regular Expression / Expresión Regular

Is it possible to print what was found by means of a regular expression? Es posible imprimir lo encontrado por medio de una expresión regular?

28th Jul 2018, 2:56 AM
Eze
1 Resposta
+ 2
var string = “string to search”; var re1 = /search/; var why = string.match(re1); document.write(why); it is right? 🤔
28th Jul 2018, 1:03 PM
Eze