I am familiar with regular expressions in other languages (e.g., Perl, Python, ViM), but the Mathematica StringExpression is baffling me.
I'd like to match strings that look like this:
1001.200nc
12345.220nc
987654.215nc
The regular expression I'd use in Python/Perl would look like this: [0-9]+\.2[0-9]{2}nc. What is the equivalent in Mathematica StringExpression?
Related: Can I use a RegularExpression wherever a StringExpression is expected?
StringExpressionsare converted intoRegularExpressions. I personaly preferRegularExpressionsform, it much more universal and easy to make your code readable by non Mathematica programmers. – Murta Mar 07 '15 at 07:28