I am using Find operation of FileUtility service to count the number of files present under a given folder.
I can not find the correct Regular Expression to match all files.
The Adobe documentation mentions that * character is default which matches all files/folder within the Directory. However, If I leave * unchanged, I'm getting an error "Incorrect Regular Expression syntax".
I have tried different combinations, nothing seems worked.
Can anyone assist me on this?
You can use the following syntax to get the list of all files:-
Yow can alslo go through the following material for details on Regular Expressions:
I din't guess that I have to escape DOT(.) character which is important to consider the file extension.
Your RE is correct, and It works perfectly!