I hope you can help me to figure this out. I need to be able to build a regular expression in js that allows letters, numbers and symbols such as plus (+) just after the ?s=...
right now I'm trying something like this
var regexp = '^[a-z0-9]';
if (url == 'https://digitalswitch.cl/rileditores/?s=' + regexp){
//do something
}else{
//do something else
}