Requirement are as follows:
1.First three characters must not be "CP ","C P". Note there is a space in both these words
2.First character may be alphanumeric, including À, Â, Ç, È
3.2nd and 3rd caracter can be any ascii character other than (0-31)
The part that I am having trouble with is how can I write regex where the string does not start with "CP " word or "C P" that word. Note that ASCII 32 is space character which is valid in regex match but not but in combination with "CP ".
I have tried something like this as starting point but to no avail
(?!CP )[^\x00-\x1F]
Sample Strings
invalid text : CP 420, C P 420
Valid text: abc 420, 420 CP etc.