Hi All,

I have a variable Coursecode with a value of the following format

"3454, 232323232, 2323223, 3435346 ,456464564 ,4645645"

I want to only display the second value after the first comma in my
I have tried to use the following to remove the values before the first
comma with no success..

<if-op-attr name="CourseCode" op="available"/>
<do-set-local-variable name="CourseName">
<token-replace-first regex=",*" replace-with="">
<token-attr name="CourseCode"/>

How would I also replace everything after the second comma ?

thanks for any help and advice