<?xml version="1.0" encoding="UTF-8"?>
<policy>
	<rule>
		<description>Reformat all telephone numbers from nnn.nnn.nnnn to (nnn) nnn-nnnn</description>
		<conditions/>
		<actions>
			<do-reformat-op-attr name="telephoneNumber">
				<arg-value type="string">
					<token-replace-first regex="^(\d\d\d)\.(\d\d\d)\.(\d\d\d\d)$" replace-with="($1) $2-$3">
						<token-local-variable name="current-value"/>
					</token-replace-first>
				</arg-value>
			</do-reformat-op-attr>
		</actions>
	</rule>
</policy>




