Skip to content

kreddys/RegexFileNameMatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ITX Async

This repository contains an implementation of an Azure Function accepts a list of filenames array and a filename pattern. It will output the result of matching filenames for the given pattern.

The function can be invoked with a POST request to Uri http://localhost:7276/api/RegexFileNameMatch and body

{
	"files": [{
			"name": "Archive",
			"type": "Folder"
		},
		{
			"name": "TempPartner_F_I_20221127.txt",
			"type": "File"
		},
		{
			"name": "TempPartner_C_I_20221127.txt",
			"type": "File"
		},
		{
			"name": "TempPartner_K_I_20221128.txt",
			"type": "File"
		},
		{
			"name": "TempPartner_T_I_20221129.txt",
			"type": "File"
		}
	],
	"pattern": "TempPartner_T_I_.+.txt$"
}

Success

[
  "TempPartner_T_I_20221129.txt"
]

Usage

To use this function, you will need an Azure account and the Azure Functions runtime.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages