regex to search word and after code example
Example 1: Regular expression: Match everything after a particular word
re.search(r'(?<=test :)[^.\s]*',text)
Example 2: Regular expression: Match everything after a particular word
test = 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQAB'
var regex = /.*?base64(.*?)/g;
var match = regex.exec(test);
console.log(match[1]);