I have url something like this
/test/test123/e/account/data/element?bUnit=17&name=cId&formName=TestForm&value=[self]
I just want to get first querystring and replace value of it so i tried
[\?&]([^=]+)\=([^&]+)
Here is example url https://regex101.com/r/6qCllM/3
But getting all querystrings. I already have tried, just little mistake which want to fix. Don't want multiple lines of function.
How to get only one Query string and replace?
Thanks