Hi there
for the following event I'd like to capture the employee number into a
variable. The input document is:

Code:
--------------------
<modify class-name="User" dest-dn="data\eDir\New\Group\MIS\BogusJo" dest-entry-id="35430" event-id="PK_EMPLOYEE_NO=26209,table=XXBNM_IDM_V,schema= APPS" src-dn="PK_EMPLOYEE_NO=26209,table=XXBNM_IDM_V,schema= APPS">
<association>PK_EMPLOYEE_NO=26209,table=XX_IDM_V,s chema=APPS</association>
--------------------


I can get the variable set to the entire string using:
<conditions>
<or>
<if-operation mode="regex" op="equal">modify|delete</if-operation>
</or>
</conditions>
<actions>
<do-set-local-variable name="SRC-EmpNo" scope="policy">
<arg-node-set>
<token-xpath expression="association/value"/>
</arg-node-set>
</do-set-local-variable>
</actions>

What is a good way to extract just the numeric value from the string:
PK_EMPLOYEE_NO=26209,table=XX_IDM_V,schema=APPS


--
kmaule
------------------------------------------------------------------------
kmaule's Profile: https://forums.netiq.com/member.php?userid=306
View this thread: https://forums.netiq.com/showthread.php?t=49857