CreateNewRegExTokenFormat()
CreateNewRegExTokenFormat() creates a new token format using a simplified method incorporating Java regular expressions. Use this to create new, custom token formats which can be used with InsertToken, InsertTokenWithCustomData, InsertBatch, and InsertBatchWithCustomData.
Syntax
public int createNewRegExTokenFormat(String tokenFormat, String splitter, String splicer) throws TokenException
Note that 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 Creating New 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. |