I need help with sed
, actually with Linux regular expressions:
I need to change two parameters between parentheses, for instance, if the line is
mysqli_select_db($par1, $par2)<br/>
I need to change it to
mysqli_select_db($par2, $par1)<br/>
I need something generic, they aren't always going to be par1
and par2
.