
Regexp replace

thomas_braun
On the command line this would be something like
echo "abcd 1" | sed 's/\([a-z]*\)\s*\([[:digit:]]\)/\2_\1/'
1_abcd
I've seen that Igor uses PCRE, the new PCRE version 2 supports that using http://www.pcre.org/current/doc/html/pcre2_substitute.html.