Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  1. Fotoware Alto
    • Release Notes
    • End-User Manual
    • Solutions
    • Terminology
    • User Guides
    • API Changelog
  2. Fotoware Veloz
    • Fotoware Veloz releases
    • Managing users and groups
    • Configuring archives
    • Configuring workflows
    • Configuring site behavior
    • Navigating and searching to find your assets
    • Working with your assets
    • Editing asset metadata
    • Uploading files
    • Version Control in Fotoware
    • Albums - Creating and sharing collections
    • Placing assets in a Content Management System (CMS)
    • Working with the Fotoware Pro interface
    • Using the Fotoware plugins
    • Consent management
    • User guide to FotoWeb for iPad (Legacy)
    • Picture conferencing with FotoWeb Screens (Legacy)
    • What's what in Fotoware
    • GDPR
    • Activity Exports
    • Example workflows
  3. Fotostation
    • Getting started with Fotostation
    • Viewing, selecting and sorting files
    • Managing your assets with archives
    • Adding metadata to assets in Fotostation
    • Searching for assets
    • Working with your assets
    • Version Control in Fotostation
    • Automating tasks with Actions
    • Configuring metadata fields and editors
    • Configuring Fotostation
    • Configuring Fotostation for multi-user environments
    • Troubleshooting Fotostation
  4. Fotoware Flow
    • About Flow
    • Getting started
    • Flow dictionary
  5. Fotoware On-premises
    • Fotoware On-premises releases
    • Getting started
    • Index Manager
    • FotoWeb
    • Color Factory
    • Connect
    • Operations Center Guide
  6. Integrations and APIs
    • Fotoware Alto API
    • Fotoware Veloz and On-premises API
  7. Fotoware Mobile
    • User guide for Fotoware Mobile for iPhone and Android
    • User guide to FotoWeb for iPad (Legacy)
    • User guide to FotoWeb for iPhone and Android (Legacy)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

Support

Table of Contents

Specific definitions Check the filename of images for regex
  • Home
  • Fotoware Alto
  • End-User Manual
  • Business Rule Automation
  • Conditions in Business Rules

Match RegEx Condition

07. April 2026

Elaine Foley

Table of Contents

Specific definitions Check the filename of images for regex

The condition Match Regex checks the input value for a specific field against a defined regex pattern; e.g., check whether the input is a valid email address or product code, and deny access until this information is correct. This condition also applies the Regex to the value in the provided fieldpath, and either validates the value (regex validation) or generates an output. Extract the Product Code from the filename and use it in the following transformations, e.g., apply tags for product attributes. 

This is especially useful when you have a media standard in place, and all files follow naming rule conventions, e.g., every file is named with product-code_project-name_department_date. 

Triggers if the Regular Expression is true.

Specific definitions

Select the condition.

Property Value
kind MatchRegexCondition
fieldpath

layerId.fieldId

Details on accessing field values, specifically fieldpath starts lowercase

Supports JSON path syntax which you can test here: https://jsonpath.com.

regex

Provide the regular expression that should be applied to the value in the provided fieldpath. 

See Regular Expression for further info. 

storeIn

Define an optional variable where the regex output should be stored, to use in the following transformations and actions. 

Provide any name you like, avoid numbers at the beginning. 

You can leave this field empty. If you don't define it the output value will just be passed to the next transformation. 

Check the filename of images for regex

Get Product Code and Store in "parsed_filename" variable

{
    "kind": "MatchRegexCondition",
    "fieldPath": "imageMetadata.fileName",
    "regex": "(?<productCode>^(F-|G-|V-)[^_]*?)_()",
    "storeIn": "parsed_filename"
}

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Business Rule Condition: Match Regex
  • Field Value Changed Condition
  • Content Schema Condition
  • User in User Role Condition
eco-lighthouse-miljøfyrtårn

Company

  • About us
  • Resellers
  • Careers
  • Contact us

Help & support

  • Support center
  • Consultancy
  • Tech partners
  • Fotostation
  • System status

Trust Center

  • Legal
  • Security
  • Sustainability & ESG

Locations

Fotoware AS (HQ)
Tollbugata 35
0157 OSLO
Norway
Fotoware Switzerland AG
Brown Boveri Str.7
5400 Baden
Switzerland

Copyright 2026 Fotoware All rights reserved.

  • Terms of service
  • Privacy policy
  • Cookie policy

Knowledge Base Software powered by Helpjuice

Expand