It's possible that I will either have
boundary=-------Embt-Boundary--1261032946D275CF
or
boundary="-------Embt-Boundary--1261032946D275CF"
and I want to just extract -------Embt-Boundary--1261032946D275CF
from the String.
How should I formed the regex? I have tried boundary="?(.+)("?)
but it only works for the first but for the second I'll get the last double quote in my extracted string (eg. -------Embt-Boundary--1261032946D275CF"
).