[Solved] Find email address between specific substring and semicolon


You can try this regex pattern:

(?<=mailfrom=)[^;]+(?=;)

(?<=mailfrom=) // assert 'mailfrom=' on the left
[^;]+          // 1 or more characters not ';'
(?=;)          // assert ';' on the right

Demo

0

solved Find email address between specific substring and semicolon