0

I have a link : http://example.com/abc?id=1&deco=123&plat=[place]

I use regular expression : /(\&deco=\d*)/ to check parameters &deco.. Now I want to check to add &plat=[place] to the string /(\&deco=\d*)/ in two ways, & and ||, how to do it. Please give me your opinion, Thanks.

Miedkes
  • 589
  • 1
  • 5
  • 16

0 Answers0