Brian Dunning's FileMaker Custom Functions

_regex ( _pText ; _pExpr )

Uses regular expressions to find matching strings in a text.

  Average rating: 4.8 (12 votes) Log in to vote

Wilhelm Werner   Wilhelm Werner - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
_regex("abc1 abc11 abc21 abc32"; "abc[1|2]{2}")
  Sample output:
abc11
abc21

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

_regex generates a list of matching strings found in a text. Regular expressions are used as provided by the Base Elements plugin (v.3.2 or higher).

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: