regexmirth-connect

Regex expression help needed to filter filenames in Mirth Connect


I need a way, in a Mirth file reader channel, to pick up all files but one with a given name. I can use a regex expression in the Filename Filter Pattern box.

Most files are of the format #######.brf. I need to pick up any file that isn't named 0050450.brf. Can someone help with this?

Thanks Rut


Solution

  • I think this one should work: ^(?!(0050450\.brf))\w*\.brf