Hi There
I am looking to replace ... #contentX:x# ... with
... Somethingorother firstarg=$1 secondarg=$2 ...
where X and x are single characters, where, in the example, S1='X' and $2='x'
preg_replace is the best solution, but I cannot fin the right searchargument.
I know my explanation is not very clear, but does anyone understand?
I am looking to replace ... #contentX:x# ... with
... Somethingorother firstarg=$1 secondarg=$2 ...
where X and x are single characters, where, in the example, S1='X' and $2='x'
preg_replace is the best solution, but I cannot fin the right searchargument.
I know my explanation is not very clear, but does anyone understand?