CreateNewRegExTokenFormat()
Creates a new token format using a simplified method incorporating Java regular expressions. Use this to create new, custom token formats that can be used with InsertToken
, InsertTokenWithCustomData
, InsertBatch
, and InsertBatchWithCustomData
.
Syntax
public int createNewRegExTokenFormat(String tokenFormat, String splitter, String splicer) throws TokenException
Note
This requires only the format name and two pieces of data for setup. This method gives Token Administrators the ability to create own custom token format using regular expressions, which work on any supported data type.
See Token Formats for more information about this method.
Request Parameters
Parameters | Data Types | Descriptions |
---|---|---|
tokenFormat | string | Description of newly created token format |
splitter | string | Splits the input value(s) into groups. |
splicer | string | Combines groups into resulting token. |