Извлеките слова из строки JS
let string = 'Hi, how& are you? bro!';
let arr = string.match(/\w+/g); // ['Hi', 'how', 'are', 'you', 'bro']
Meti
let string = 'Hi, how& are you? bro!';
let arr = string.match(/\w+/g); // ['Hi', 'how', 'are', 'you', 'bro']
var str = '#anotherdata=value#iamlookingforthis=226885#id=101&start=1';
var value = str.match(/#iamlookingforthis=(\d+)/i)[1];
alert(value); // 226885