Socrata was acquired by Tyler Technologies in 2018 and is now the Data and Insights division of Tyler. The platform is still powered by the same software formerly known as Socrata but you will see references to Data & Insights going forward.

regex_named_capture

Function: regex_named_capture
  capture a piece of text based on a regular expression
  and extract the capture by name

Examples:

  regex_named_capture('P Sherman 42 Wallaby Way, Sydney', '(?<house_number>\d+)', 'house_number')
  -- Result: "42"

  regex_named_capture('P Sherman 42 Wallaby Way, Sydney', '(?<city>\w+)$', 'city')
  -- Result: "Sydney"




Signatures
text, text, text -> text