I want a Regular expression for below statement to satisfy the condition in angular material input field having pattern attribute
"Note that strings SHALL NOT exceed 1MB (1024*1024 characters) in size. Strings SHOULD not contain Unicode character points below 32, except for u0009 (horizontal tab), u0010 (carriage return) and u0013 (line feed). Leading and Trailing whitespace is allowed, but SHOULD be removed when using the XML format. Note: This means that a string that consists only of whitespace could be trimmed to nothing, which would be treated as an invalid element value. Therefore strings SHOULD always contain non-whitespace content"
I expect any string with above unicode above 32 characters and words with spacing
I tried with regex "^((?![\u0001-\u0008]|[\u000B-\u000C]|[\u000E-\u0020]).)*$" but no luck