Chen,
You can do regular expressions from a jython script instead.
See the jython interpreter and utilities for ImageJ:
http://www.mcdb.ucla.edu/research/hartenstein/acardona/software.html#ImageJ%20Jython%20InterpreterTo get it running, you need to:
- install Jython somewhere in your system
- put the jython.jar into ImageJ's classpath
- create a "Jython" folder under plugins folder.
See also the jython language, which is essentially Python with access to
all java classes and methods:
http://www.jython.orgSpecifically for regular expression, you can either use python-like
style (as built in into jython) or directly the java classes to do it.
Albert
--
Albert Cardona
http://www.mcdb.ucla.edu/Research/Hartenstein/acardona