Mask All Characters Except First and Last
Standardization Definition
Mask Characters Except First and Last | ||
---|---|---|
Description |
The Mask All Characters Except First and Last standardization definition replaces all of the characters between the first and last with three * characters. |
|
Examples | Input | Output |
John Smith 123 | J***3 | |
Thai Zero ๐ and Twelve ๑๒ | T***๒ | |
½ inch | ½***h | |
X9/L7 | X***7 | |
AB | *** | |
Remarks |
If the input string has three characters or less, the entire string will be replaced with three * characters. For this definition, whitespace is also regarded as a character. |