Compliance checking in the compilation of parameters

I would like to use Dynamo to verify that a parameter is compiled according to the standards setted by the office. For example, I have a parameter that must be compiled with the following rule: 0.0 (that is, number point number, without spaces). How can I check this? How can I get the IDs of the elements that have the parameter compiled incorrectly? Some advice?