Brian Dunning's FileMaker Custom Functions

FilterC ( text ; AZaz09etc )

not quite a regex filter, but easier than

  Average rating: 4.1 (38 votes) Log in to vote

Thomas Seidler   Thomas Seidler
The Good Book Company
http://www.harmlesswise.com

Share on Facebook Share on Twitter

  Sample input:
FilterC ( "I w@nt som3_F00D" , "azF09_" )
  Sample output:
"wntsom3_F00"

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

// FilterC(text; AZaz09etc) - parameters: text - text to be fitlered; AZaz09etc - filter text
// works by expanding AZ, az, 09 where found

I wanted a rapid and regular A-Z, a-z, 0-9 text filter, so I thought for a while, and eventually realised it was simple. So simple it probably doesn't merit being here.

If anyone comes up with a nice elegant solution to the c-y, 3-5 true regex range style that isn't FileMaker native, publish it! ;)

 

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.

Under construction. Email me your wish list for improvements.