cancel
Showing results for 
Search instead for 
Did you mean: 

Wat should be the regular expression for string MT940_UB_*.txt to be used in SFTP sender channel in PI 7.31 ??

Former Member
0 Kudos

Hi All,

What should be the regular expression for string MT940_UB_*.txt and MT940_MB_*.txt to be used as filename inSFTP sender channel in PI 7.31 ??

If any one has any idea on this please let me know.

Thanks

Neha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi All,

None of the file names suggested is working.

I have tried using - MT940_MB_*\.txt , MT940_MB_*.*txt , MT940*.txt

None of them is able to pick this filename - MT940_MB_20142204060823_1.txt

Currently I am using generic regular expression which picks all .txt files. - ([^\s]+(\.(txt))$)

Let me know ur suggestion on this.

Thanks

Neha Verma

engswee
Active Contributor
0 Kudos

Hi Neha

Have you tried this:-

MT940_UB_.*(\.txt)

MT940_MB_.*(\.txt)


Or

MT940_[UM]B_.*(\.txt)

Rgds

Eng Swee

Message was edited by: Eng Swee Yeoh

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi All,

Thanks for ur inputs.

This one worked for me..

Channel 1 - MT940_UB_.*(\.txt)

Channel 2 - MT940_MB_.*(\.txt)

Thanks a lot !!

Neha Verma

former_member190624
Active Contributor
0 Kudos

Try MT940_UB_*\.txt|MT940_MB_*\.txt and let us know if this not works.

Thanks

Hari.

Former Member
0 Kudos

Verma,

PFA  the  below containing the screen shots..

Mutti

former_member184720
Active Contributor
0 Kudos

Try with -

MT940_UB_*.*txt|MT940_MB_*.*txt

Make use of : Regex Tester