By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,710 Members | 1,970 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,710 IT Pros & Developers. It's quick & easy.

pattern match

P: 41
Can anybody say what is the pattern matching for the expression


afkmsim1:tkmdssam:/st/dist/msamagt/bin/.................../tk_eb.exe.pl

It ends with .pl extension

...... means it may be indefine number of path

Thanks
Dillip
May 19 '08 #1
Share this Question
Share on Google+
1 Reply


nithinpes
Expert 100+
P: 410
Can anybody say what is the pattern matching for the expression


afkmsim1:tkmdssam:/st/dist/msamagt/bin/.................../tk_eb.exe.pl

It ends with .pl extension

...... means it may be indefine number of path

Thanks
Dillip
You may just match for .pl at end of string.
Expand|Select|Wrap|Line Numbers
  1. if(/\.pl$/)  {
  2.  
May 19 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.