strip_file_regex#

omni.kit.converter.common.strip_file_regex(
input_path: Path,
file_regex_patterns,
) str#

Strips the input_path regex from input_path file; else, returns stem

Parameters:
  • input_path (Path) – input file path

  • file_regex_patterns – regex patterns to strip from input_path

Returns:

name of file without suffix

Return type:

str