I wonder if we're talking about the same thing, or there's a way to use regular expressions that I'm not familiar with. I'll try to explain our problem more clearly.
Our data has a consistent format (hh:mm:ss). There the separator is always a colon. E.g. the JMP on my computer works nicely with this format and I can easily import this data simply by selecting this format from the input format menu. When my colleague tries to do the same thing, the JMP on her computer does not recognize the data as time. On her computer the time format has to be hh.mm.ss (dot as a separator). Therefore in order to write a script for the import, that would work on both of these computers, we would have to first identify what is the time format expected by JMP on that particular machine.
Can regular expressions be used in the script to determine the input format? Currently we would have to have different scripts for different machines (one with colon and one with dot).
Format( "y.m.d h:m:s", 22, 0 ), Informat( "y-m-d h:m:s", 0 )
Format( "y.m.d h.m.s", 22, 0 ), Informat( "y-m-d h.m.s", 0 )
Can we use this instead?
Format( "y.m.d h[\.:]m[\.:]s", 22, 0 ), Informat( "y-m-d h[\.:]m[\.:]s", 0 )