[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-05(UTC)"],[],[],null,["# REGEXP_EXTRACT\n\nReturns the first matching substring in the target value which matches the regular expression pattern.\n\nSample usage\n------------\n\n`REGEXP_EXTRACT(Campaign, 'TYPE:(.*)')`\n\nSyntax\n------\n\n`REGEXP_EXTRACT( `\u003cvar translate=\"no\"\u003eX\u003c/var\u003e`, `\u003cvar translate=\"no\"\u003eregular_expression\u003c/var\u003e` )`\n\n### Parameters\n\n- \u003cvar translate=\"no\"\u003eX\u003c/var\u003e - a field or expression that includes a field.\n\n- \u003cvar translate=\"no\"\u003eregular_expression\u003c/var\u003e - a regular expression that extracts a portion of \u003cvar translate=\"no\"\u003eX\u003c/var\u003e. \u003cvar translate=\"no\"\u003eregular_expression\u003c/var\u003e must contain a valid extraction pattern.\n\n### Returns\n\nThe `REGEXP_EXTRACT` function returns **Text** data type values.\n\nExample\n-------\n\nNotes\n-----\n\nLooker Studio uses the RE2 expression syntax. For more details, see [Regular Expressions in Looker Studio](/looker/docs/studio/regular-expressions-in-looker-studio).\n\nNote that patterns containing escape characters such as `\\` may require additional escaping in Looker Studio, which can be avoided with the use of [raw string literals](/looker/docs/studio/literals).\n\nRelated resources\n-----------------\n\n- [Calculated fields](/looker/docs/studio/about-calculated-fields)\n- [Looker Studio function list](/looker/docs/studio/function-list)"]]