NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

When you specify criteria for bulk upload, you can specify either RegEx pattern or a simple pattern. 

  • With RegEx, the search pattern can be a simple character, a fixed string, or a complex expression containing special characters describing the pattern. The pattern defined by RegEx may match one time, several times, or not at all for a given string. For patterns and examples, refer to the following page:
    https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html
    Copy this one into an NCI wiki (not Collaborate) page:

    Exit Disclaimer logo

    The following is the multiexcerpt that may be the source of existing exit disclaimers. Do not copy this one because it places the image on the next line after the link.

    Exit Disclaimer logo
  • For information on simple pattern matching, refer to the following tables:
    • The following table describes the special characters you can use: 

      CharactersDescription
      ?Matches any single character. Eg, "something?" collects any path that is named "something" plus any character.
      *Matches any characters up to the next slash. Eg, "*/*/something*" collects any path that has two directories, then a file or directory that starts with the name "something".
      **Matches any characters. Eg, "**/something/**" collects any path that contains a directory named "something".
    • The following table provides examples: 

      ExampleDescription
      *.bamMatches all files with extension “bam” in the source folder
      FR00?.bamMatches all files with name “FR00” and any one character and with extension “bam” in the source folder
      **/*.bamMatches all files with extension “bam” in all folders and sub folders from the source location.
      images/**/*.jpgMatches all files with extension “jpg” in images folder and it’s all sub folders from the source location.
      **/sub*/*.txtMatches all files in sub folder(s) starts with “sub” and with extension “txt” from the source location.
      ERI10wefMatches with exact file name from the source location
      /opt/test/temp.bamMatches with exact file name including its path from the source location
  • No labels