I need to remove unwanted charaters from given name and surname.

Here is what I have... but its not working. THANKS IN ADVANCE

<rule>
<description>remove junk from Given Name</description>
<comment xml:space="preserve">remove unwanted characters</comment>
<conditions>
<and>
<if-op-attr name="Given Name" op="available"/>
</and>
</conditions>
<actions>
<do-reformat-op-attr name="Given Name">
<arg-value>
<token-replace-all regex="[^a-zA-Z]" replace-with="">
<token-op-attr name="Given Name"/>
</token-replace-all>
</arg-value>
</do-reformat-op-attr>
</actions>
</rule>



AND

<rule>
<description>remove junk from Surname</description>
<comment xml:space="preserve">remove unwanted characters</comment>
<conditions>
<and>
<if-op-attr name="Surname" op="available"/>
</and>
</conditions>
<actions>
<do-reformat-op-attr name="Surname">
<arg-value>
<token-replace-all regex="[^a-zA-Z]" replace-with="">
<token-op-attr name="Surname"/>
</token-replace-all>
</arg-value>
</do-reformat-op-attr>
</actions>
</rule>