Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Custom Function Database - Part 11 - RegEx Parsing

(0 reviews)

With FileMaker’s PatternCount(), Left(), Right() and Middle() functions you can certainly extract a lot of data. The functions, however, are severely limited when it comes to matching variable patterns of data.

That’s where, in the world of programming, Regular Expressions, or RegEx for short, is SUPER handy! It’s used in pretty much EVERY computing language and I don’t personally know a professional developer who can develop without it. It’s been available since the 1950’s and it’s a worthwhile tool to know for sure.

Recently, I personally reduced a complex FileMaker file from three tables and close to twenty dedicated scripts, all for parsing some data, down to one table and two scripts. Trust me, it was a crazy process where a full document of text was imported, line by line, into a FileMaker table, just so a loop could be used to walk across the data multiple times. Talk about extra network traffic just to process some data!

It was MUCH easier to simply use a RegEx pattern and directly extract the data desired and be done with it. Of course, the developer who preceded me obviously didn’t know RegEx and it’s why I’m providing this video for you. Learn it, use it and get the job done quicker when it’s the right tool for the job.

Click the title or link to this article to view the video.


View the full article

0 Comments

Recommended Comments

There are no comments to display.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.