KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Using RegEx “Lookarounds” with 4D Match regex
PRODUCT: 4D | VERSION: 12 | PLATFORM: Mac & Win
Published On: March 14, 2011

This Tech Note discusses and demonstrates the use of one of the more complex Regular Expression (Regex) technologies. Positive and negative “Lookbehind” and positive and negative “Lookahead” collectively are known as Lookaround. Like start and end of line and start and end of word anchors, a Lookaround is a zero-width function in Regex. Lookahead and Lookbehind are assertions that signal the presence or absence of specific text in a Regex search. Once mastered, using these Regex technologies supercharges and adds extra magic to the 4D command Match regex.

Download Complete Tech Note and Example: Tech Note Document and Demo Database