Checks whether text is in correct format for given property editor.
For example for integer property editor text must match [\d\-]+ regex
Parameters: text - to be checked result
Removes all incorrect characters for for given property editor.
For example for integer property editor removes all chars except [\d\-]+ regex
Parameters: text - to be checked result text