如何搜索其中包含“url =”和“https”的模式并将其删除 .

例如:我所拥有的是:

getConnection( url = 'https://www.google.com', id, pwd)

我的结果应该是这样的:

getConnection( id, pwd)

因此,每当我在参数1的位置有 url =https 时,我需要删除该参数1 .