Hi All,
I have an interesting preg_replace challenge for you.
In my code I have something like this:
[MARK:C:100:120:164:178:T:G:name]
And I'd like to replace that with:
<a href=# onclick=marker('[MARK:C:120:164:178:T:G:name]')>name</a>
The '[MARK:' part and the ']' are constant,
all other variables are variable.
I have an interesting preg_replace challenge for you.
In my code I have something like this:
[MARK:C:100:120:164:178:T:G:name]
And I'd like to replace that with:
<a href=# onclick=marker('[MARK:C:120:164:178:T:G:name]')>name</a>
The '[MARK:' part and the ']' are constant,
all other variables are variable.