Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MBS FileMaker Plugin Example Databases

RegEx

All examples are included with download of MBS FileMaker Plugin.

RegEx.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts3
Value Lists0
Custom Functions0
Custom Menus33
File Options
Default custom menu set[Standard FileMaker Menus]
When opening file
Minimum allowed version12.0
Login usingAccount Name; Account= Admin
Allow user to save passwordOff
Require iOS passcodeOff
Switch to layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
RegEx
17 fields defined, 1 record
RegEx

Fields

Table Name: RegEx - 17 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
PatternNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      CompilerOptionsNormal, NumberAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          TextNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              ExecuteOptionsNormal, NumberAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  ResultCountNormal, NumberAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      NameCountNormal, NumberAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          CaptureCountNormal, NumberAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                              SizeNormal, NumberAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  StudyResultNormal, TextAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                      CompileResultNormal, TextAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                          ExecuteResultNormal, TextAuto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German
                                              MinimumLengthNormal, NumberAuto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Repetitions: 1
                                              • Indexing: None
                                              • Automatically create indexes as needed
                                              • Index Language: German
                                                  SubstringListNormal, TextAuto-Enter:
                                                  • Allow editing
                                                  Validation:
                                                  • Only during data entry
                                                  Storage:
                                                  • Repetitions: 1
                                                  • Indexing: None
                                                  • Automatically create indexes as needed
                                                  • Index Language: German
                                                      Substring1Normal, TextAuto-Enter:
                                                      • Allow editing
                                                      Validation:
                                                      • Only during data entry
                                                      Storage:
                                                      • Repetitions: 1
                                                      • Indexing: None
                                                      • Automatically create indexes as needed
                                                      • Index Language: German
                                                          Substring2Normal, TextAuto-Enter:
                                                          • Allow editing
                                                          Validation:
                                                          • Only during data entry
                                                          Storage:
                                                          • Repetitions: 1
                                                          • Indexing: None
                                                          • Automatically create indexes as needed
                                                          • Index Language: German
                                                              Substring3Normal, TextAuto-Enter:
                                                              • Allow editing
                                                              Validation:
                                                              • Only during data entry
                                                              Storage:
                                                              • Repetitions: 1
                                                              • Indexing: None
                                                              • Automatically create indexes as needed
                                                              • Index Language: German
                                                                  Substring0Normal, TextAuto-Enter:
                                                                  • Allow editing
                                                                  Validation:
                                                                  • Only during data entry
                                                                  Storage:
                                                                  • Repetitions: 1
                                                                  • Indexing: None
                                                                  • Automatically create indexes as needed
                                                                  • Index Language: German

                                                                      Layout Objects: RegEx

                                                                      Regular Fields

                                                                      Field Name: RegEx::Pattern
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 24 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 38 pt
                                                                      • Right: 391 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::CompilerOptions
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 60 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 74 pt
                                                                      • Right: 217 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::Text
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 42 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 56 pt
                                                                      • Right: 391 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::ExecuteOptions
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 78 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 92 pt
                                                                      • Right: 217 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::ResultCount
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 114 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 128 pt
                                                                      • Right: 217 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::NameCount
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 132 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 146 pt
                                                                      • Right: 217 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::CaptureCount
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 150 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 164 pt
                                                                      • Right: 217 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::Size
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 168 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 182 pt
                                                                      • Right: 217 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::StudyResult
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 24 pt
                                                                      • Left: 552 pt
                                                                      • Bottom: 38 pt
                                                                      • Right: 805 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::CompileResult
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 42 pt
                                                                      • Left: 552 pt
                                                                      • Bottom: 56 pt
                                                                      • Right: 805 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::ExecuteResult
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 60 pt
                                                                      • Left: 552 pt
                                                                      • Bottom: 74 pt
                                                                      • Right: 805 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::MinimumLength
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 186 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 200 pt
                                                                      • Right: 217 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::SubstringList
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 204 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 272 pt
                                                                      • Right: 391 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::Substring1
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 294 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 308 pt
                                                                      • Right: 391 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::Substring2
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 312 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 326 pt
                                                                      • Right: 391 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::Substring3
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 330 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 344 pt
                                                                      • Right: 391 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Field Name: RegEx::Substring0
                                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                      • Top: 276 pt
                                                                      • Left: 138 pt
                                                                      • Bottom: 290 pt
                                                                      • Right: 391 pt
                                                                      • Anchoring: Left, Top
                                                                      Field Format:
                                                                      • Edit Box
                                                                      Field Behavior:
                                                                      • Allow field to be entered: In Find mode, In Browse mode
                                                                      • Touch keyboard type: System Default
                                                                      • Go to next field using: Tab key
                                                                      Yes

                                                                      Group Buttons

                                                                      Button PropertiesCoordinatesScript/Script Step
                                                                        Type:
                                                                      • Text: Compile
                                                                        Additional Properties:
                                                                      • Change to hand cursor over button
                                                                      • Rectangular
                                                                      • Top: 96 pt
                                                                      • Left: 252 pt
                                                                      • Bottom: 121 pt
                                                                      • Right: 355 pt
                                                                      • Anchoring: Left, Top
                                                                      Perform Script [ “Compile” ]

                                                                      Scripts:


                                                                      Button PropertiesCoordinatesScript/Script Step
                                                                        Type:
                                                                      • Text: Study
                                                                        Additional Properties:
                                                                      • Change to hand cursor over button
                                                                      • Rectangular
                                                                      • Top: 96 pt
                                                                      • Left: 366 pt
                                                                      • Bottom: 121 pt
                                                                      • Right: 469 pt
                                                                      • Anchoring: Left, Top
                                                                      Perform Script [ “Study” ]

                                                                      Scripts:


                                                                      Button PropertiesCoordinatesScript/Script Step
                                                                        Type:
                                                                      • Text: Execute
                                                                        Additional Properties:
                                                                      • Change to hand cursor over button
                                                                      • Rectangular
                                                                      • Top: 96 pt
                                                                      • Left: 480 pt
                                                                      • Bottom: 121 pt
                                                                      • Right: 583 pt
                                                                      • Anchoring: Left, Top
                                                                      Perform Script [ “Execute” ]

                                                                      Scripts:


                                                                      Script Hierarchy

                                                                      Compile
                                                                      Execute
                                                                      Study

                                                                      Next Script: [Execute]
                                                                      Script NameCompile
                                                                      Run script with full access privilegesOff
                                                                      Include In MenuYes
                                                                      Layouts that use this script
                                                                      Scripts that use this script
                                                                        Script Definition
                                                                        Script Steps
                                                                        • # free last
                                                                        • Set Variable [ $r; Value:MBS("RegEx.Free"; RegEx::CompileResult) ]
                                                                        • # compile new
                                                                        • Set Field [ RegEx::CompileResult; MBS("RegEx.Compile"; RegEx::Pattern; RegEx::CompilerOptions) ]
                                                                        Fields used in this script
                                                                        Scripts used in this script
                                                                          Layouts used in this script
                                                                            Tables used in this script
                                                                            Table occurrences used by this script
                                                                            Custom Functions used by this script
                                                                              Custom menu set used by this script

                                                                                Previous Script: [Compile]Next Script: [Study]
                                                                                Script NameExecute
                                                                                Run script with full access privilegesOff
                                                                                Include In MenuYes
                                                                                Layouts that use this script
                                                                                Scripts that use this script
                                                                                  Script Definition
                                                                                  Script Steps
                                                                                  • Set Variable [ $r; Value:MBS("RegEx.Execute"; RegEx::CompileResult; RegEx::Text; RegEx::ExecuteOptions) ]
                                                                                  • Set Field [ RegEx::ExecuteResult; $r ]
                                                                                  • If [ MBS("IsError") = 0 ]
                                                                                  • Set Field [ RegEx::NameCount; MBS("RegEx.NameCount"; RegEx::CompileResult) ]
                                                                                  • Set Field [ RegEx::CaptureCount; MBS("RegEx.CaptureCount"; RegEx::CompileResult) ]
                                                                                  • Set Field [ RegEx::Size; MBS("RegEx.Size"; RegEx::CompileResult) ]
                                                                                  • Set Field [ RegEx::MinimumLength; MBS("RegEx.MinimumLength"; RegEx::CompileResult) ]
                                                                                  • Set Field [ RegEx::SubstringList; MBS("RegEx.SubstringList"; RegEx::CompileResult) ]
                                                                                  • Set Field [ RegEx::Substring0; MBS("RegEx.Substring"; RegEx::CompileResult; 0) ]
                                                                                  • Set Field [ RegEx::Substring1; MBS("RegEx.Substring"; RegEx::CompileResult; 1) ]
                                                                                  • Set Field [ RegEx::Substring2; MBS("RegEx.Substring"; RegEx::CompileResult; 2) ]
                                                                                  • Set Field [ RegEx::Substring3; MBS("RegEx.Substring"; RegEx::CompileResult; 3) ]
                                                                                  • Set Field [ RegEx::ResultCount; $r ]
                                                                                  • Else
                                                                                  • Set Field [ RegEx::Substring1; "" ]
                                                                                  • Set Field [ RegEx::Substring2; "" ]
                                                                                  • Set Field [ RegEx::Substring3; "" ]
                                                                                  • Set Field [ RegEx::Substring0; "" ]
                                                                                  • Set Field [ RegEx::SubstringList; "" ]
                                                                                  • Set Field [ RegEx::MinimumLength; "" ]
                                                                                  • Set Field [ RegEx::NameCount; "" ]
                                                                                  • Set Field [ RegEx::CaptureCount; "" ]
                                                                                  • Set Field [ RegEx::Size; "" ]
                                                                                  • Set Field [ RegEx::ResultCount; "" ]
                                                                                  • End If
                                                                                  Fields used in this script
                                                                                  Scripts used in this script
                                                                                    Layouts used in this script
                                                                                      Tables used in this script
                                                                                      Table occurrences used by this script
                                                                                      Custom Functions used by this script
                                                                                        Custom menu set used by this script

                                                                                          Previous Script: [Execute]
                                                                                          Script NameStudy
                                                                                          Run script with full access privilegesOff
                                                                                          Include In MenuYes
                                                                                          Layouts that use this script
                                                                                          Scripts that use this script
                                                                                            Script Definition
                                                                                            Script Steps
                                                                                            • Set Field [ RegEx::StudyResult; MBS("RegEx.Study"; RegEx::CompileResult) ]
                                                                                            Fields used in this script
                                                                                            Scripts used in this script
                                                                                              Layouts used in this script
                                                                                                Tables used in this script
                                                                                                Table occurrences used by this script
                                                                                                Custom Functions used by this script
                                                                                                  Custom menu set used by this script

                                                                                                    Download example: RegEx

                                                                                                    Used functions: