Help for this page
(?<=foo.*?) # if there is a "foo" before the match
<?<=foo.*?(?=.*?bar)) # if there is a "foo" before, with a "bar" afte +r it