aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/core-utils/common/regexp.ts
blob: 59eb87eb6468e3d6f690cd17a1ba37be7b46c26b (plain) (tree)
1
2
3
4
5
                                                                                       



                                                       
export const uuidRegex = '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'

export function removeFragmentedMP4Ext (path: string) {
  return path.replace(/-fragmented.mp4$/i, '')
}