Developing requirements > Unstructured (flat file) import
Example: Assigning valid identifiers in the unstructured document
The following information shows some examples using regular expressions that you might specify in the configuration file rules and some corresponding valid identifier tags when assigning IDs in Word or Excel.
In these examples, the key values are set to the following values in the common settings section of the configuration file:
<add key = "IDPrefix" value = "ID,ID2,ID3,CID" />
<add key = "IDProperty" value = "object_name" />
| Regular expression for identifier | Valid values when assigning an ID | Some valid identifier tags |
|---|---|---|
[]ID:ENG-FNC-TSC[0-9]{1,}[]] |
Type: Requirement revision; Prefix: ID; ID: ENG-FNC; Name: TSC followed by a sequence number | [ID:ENG-FNC-TSC001] → object name after import: ENG-FNC-TSC0001; [ID:ENG-FNC-TSC123] → ENG-FNC-TSC123 |
[[]CID:ENG-FNC-FSR[0-9]{1,}[]] |
Type: Paragraph revision; Prefix: CID; ID: ENG-FNC; Name: FSR followed by a sequence number | [CID: ENG-FNC-FSR0001] → ENG-FNC-FSR0001; [CID: ENG-FNC-FSR111] → ENG-FNC-FSR111 |
[[]ID:SYSCP[0-9]{1,}[] |
Type: Requirement revision; Prefix: CID; ID: SYSOP followed by a sequence number | [ID:SYSOP0001] → SYSOP0001; [ID:SYSOP1001] → SYSOP1001 |
[[]ID:REQ/[A-Z]{1};[0-9]{1}-[0-9]{6}[]] |
Type: Requirement revision; Prefix: ID; ID: REQ; Revision: any letter A–Z; Sequence: any integer 0–9; Name: six digit sequence number | [ID: REQ/A;1–100001] → REQ/A;1–100001; [ID: REQ/B;2–222222] → REQ/A;1–222222 |
Related Topics
- How are regular expressions used?
- Overview of the flat file configuration files
- Configuring the common settings
- Configuring the parser rules
Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.plm00038/xid830990 · retrieved Fri Jul 10 2026 00:00:00 GMT+0000 (Coordinated Universal Time)