Hello Mike,
Check this
0xffff0000 E 50 P " \ ->Original Event to pull the info from
CreateEventWithAttributes( \
{ C CURRENT_MODEL }, \
{ H 0xffff0001 }, \ ->New event to be created
SetEventAttribute( \
SetEventAttribute( \
GetEventAttributeList(), \
{ U 2 }, \ ->Variable to that needs to be split New variable containing the first half of the extracted data
GetRegexp( \
GetEventAttribute( { U 1 } ), \ ->Variable of the original event that needs to be split
{ S \"(.*)/(.*)\" }, \ ->Regex expression to search for (you may need to escape the “/”, )
{ U 1 } )), \ ->Regexp piece to extract (if you use several “(…)” in your regexp, indicates which one you care about): in your example this would extract “one”
{ U 3 }, \ ->New variable containing the other half of the extracted data
GetRegexp( \
GetEventAttribute( { U 1 } ), \ -> Variable of the original event that needs to be split
{ S \"(.*)/(.*)\" }, \ ->Regex expression to search for
{ U 2 } )))" -> Regexp piece to extract (if you use several “(…)” in your regexp, indicates which one you care about): in your example this would extract “two”
HTH
Kalyan