Hi I'm new to regex and I am trying to use this to catch spaces \s{2,}
in the junk but NOT including the spaces inside the "url":"https://x.com/a/C25/XPS - Connection - May 2013.docx"
. Currently, I have a scenario where url is not encoded yet so it may contain spaces inside.
Sample Text:
"startofjunk junkjunkjunkjunk","url":"https://x.com/a/C25/XPS - Connection - May 2013.docx","contentsource":"AX","returpath":null,"detailpath":"https://ax.sample.com/Rep>ositories/form.aspx?path=C25/96/99&mode=Read","detailspath2":"samplepath"
Desired Text:
"startofjunk junkjunkjunkjunk","url":"https://x.com/a/C25/XPS - Connection - May 2013.docx","contentsource":"AX","returpath":null,"detailpath":"https://ax.sample.com/Rep>ositories/form.aspx?path=C25/96/99&mode=Read","detailspath2":"samplepath"
please help. Thanks