[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-701038-105":3,"detail-sidebar-cat-0-en-105":72,"doc-detail-701038-en":122,"doc-similar-701038":152},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":65,"head_meta":67,"extra_data":69,"updated_unix":71},105,"en","the-basics-of-regular-expressions-in-tableau-inger-bergom-christina-butler-northeast-association-for-institutional-research-annual-conference-2019","The Basics of Regular Expressions in Tableau - Inger Bergom & Christina Butler - Northeast Association for Institutional Research Annual Conference 2019","","This presentation introduces regular expressions and their practical use in Tableau to support institutional research workflows. It explains what regular expressions are, how to recognize common pattern formats, and which Tableau functions enable replacement, matching, and extraction (e.g., REGEXP_REPLACE, REGEXP_MATCH, REGEXP_EXTRACT, REGEXP_EXTRACT_NTH). A detailed use case shows how to automate the reporting of student addresses, including extracting and validating zip codes and handling messy student-entered data through regex-based checks.",{"@graph":14,"@context":64},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/the-basics-of-regular-expressions-in-tableau-inger-bergom-christina-butler-northeast-association-for-institutional-research-annual-conference-2019/701038/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/the-basics-of-regular-expressions-in-tableau-inger-bergom-christina-butler-northeast-association-for-institutional-research-annual-conference-2019/701038.png","ImageObject",300,407,{"name":42,"@type":43},"Ivy","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-17","2026-11-12",true,{"@type":52,"interactionType":53,"userInteractionCount":30},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58],{"name":59,"@type":60,"acceptedAnswer":61},"How does the student address use case validate zip codes?","Question",{"text":62,"@type":63},"It uses REGEXP_EXTRACT with a pattern to find five consecutive digits and extract the zip code from the Address field. The approach returns Null when the pattern does not match, enabling automated built-in validation compared with slow manual checks in Excel.","Answer","https://schema.org",{"og:url":32,"og:type":66,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":68,"canonical":32},"index,follow",{"doc_id":70,"site_id":7},701038,1794522985,{"code":4,"msg":73,"data":74},"success",[75,79,83,87,92,96,101,106,111,114,118],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":76,"show_sort_weight":77,"slug":78},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":80,"show_sort_weight":81,"slug":82},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Exam",70,"exam",{"id":88,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},5,"Comic",60,"comic",{"id":93,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":94,"slug":95},6,50,"technology",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},7,"Healthcare",40,"healthcare",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},8,"Research & Report",30,"research-report",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},9,"Religion & Spirituality",20,"religion-spirituality",{"id":109,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":109,"slug":113},"World Cup","world-cup",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":115,"slug":117},10,"Lifestyle","lifestyle",{"id":119,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":88,"slug":121},19,"General","general",{"code":4,"msg":73,"data":123},{"doc_id":70,"user_id":124,"nickname":42,"user_avatar":125,"doc_module":4,"category_id":93,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":126,"file_id":127,"file_url":128,"file_type":129,"file_size":130,"view_count":30,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":109,"language":131,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":132,"faqs":133,"seo_title":134,"seo_description":12,"update_tm":71,"read_time":94,"preview_page_count":33,"preview_urls":135},549758252649,"https://ap-avatar.wpscdn.com/avatar/8000253669c5317157?_k=1778319167496531819","The Basics of Regular Expressions in Tableau  \nInger Bergom & Christina Butler  \nTufts University Office of Institutional Research 2019 Northeast Association for Institutional Research Annual Conference  \nOffice of Institutional Research  \nWhy use regular expressions in Tableau?  \n• One of the five Duties and Functions of Institutional Research stated by AIR is collecting, analyzing, interpreting and reporting data and information ( [airweb.org](airweb.org), 2019)  \n• In order to achieve this in a rapidly-changing data environment, IR professionals need to continually adapt to new technologies and data querying tools  \n• Tableau is increasingly used in IR for data management, analysis, and visualization  \n2  \nOffice of Institutional Research  \nWhat are regular expressions?  \n• Not new or unique to Tableau; originated in the 1950sand standard in many computer languages and tools, such as Python and MySQL  \n• Released in Tableau 9.0  \n• Help execute complex queries of text data—such as addresses or birthdates  \n• Extract patterns of text , similar to wildcard notations, but can be more complex and offer additional functionality  \n3  \nOffice of Institutional Research  \nWhat do regular expressions look like?  \nFind five  \nconsecutive digits:  \n[0-9]{5}  \n4  \nOffice of Institutional Research  \nWhat do regular expressions look like?  \nFind two consecutive capital letters:  \n[A-Z]{2}  \n5  \nOffice of Institutional Research  \nRegular expressions in Tableau  \nREGEXP_REPLACE(string, pattern, replacement): Returns a copy of the given string where the regular expression pattern is replaced by the replacement string.  \nREGEXP_MATCH(string, pattern): Returns true if a substring matches the regex pattern.  \nREGEXP_EXTRACT(string, pattern): Returns the portion of the string matching the regular expression pattern.  \nREGEXP_EXTRACT_NTH(string, pattern, index): Returns the portion of the string that matches the regular expression pattern. The substring is matched to the nth capturing group, where n is the given index.  \nSource: [https://www.tableau.com/about/blog/2015/6/become-regular-regular-expressions-39802](https://www.tableau.com/about/blog/2015/6/become-regular-regular-expressions-39802)  \n6  \nOffice of Institutional Research  \nUse Case \\#1:  \nReporting Student Addresses  \n7  \nOffice of Institutional Research  \nReporting student addresses  \n• Bi-annual reporting of student addresses to comply with city ordinances  \n• Student-entered data (messy!)  \n• Request for specific format:  \n• Old way in Excel = slow, tedious, reliant on manual checks  \n• New way in Tableau = more automated, faster, built-in checks  \n8  \nOffice of Institutional Research  \nReporting student addresses  \nCalculation:  \nREGEXP_EXTRACT([Address],\"([0-9] {5})\")  \nZip code: Return 5 consecutive digits  \nFind digits  \n5 in a row (the “quantifier”)  \nReturns Null if no match  \nData we have to work with  \nField we want to create  \n9  \nOffice of Institutional Research  \nReporting student addresses  \nIdentify addresses not starting with number  \n10  \nOffice of Institutional Research","cbCaikFDUIpu3mA1","https://ap.wps.com/l/cbCaikFDUIpu3mA1","pdf",594646,"English","# Why use regular expressions in Tableau?\n# What are regular expressions?\n# What do regular expressions look like?\n# Regular expressions in Tableau\n# Use Case #1: Reporting Student Addresses","[{\"question\":\"How does the student address use case validate zip codes?\",\"answer\":\"It uses REGEXP_EXTRACT with a pattern to find five consecutive digits and extract the zip code from the Address field. The approach returns Null when the pattern does not match, enabling automated built-in validation compared with slow manual checks in Excel.\"}]","The Basics of Regular Expressions in Tableau - Inger Bergom & Christina Butler - Northeast Association for Institutional Research Annual Conference 2019 | PDF",[136,140,144,148],{"page_no":22,"url":137,"width":138,"height":139},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/c8889c3587c84d030ccba5cd8f4f244c.webp",983,759,{"page_no":26,"url":141,"width":142,"height":143},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/d64603087e5a7951719a4bb983facbd1.webp",982,758,{"page_no":30,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/a80c4774706af18e6b1ae1f2bf1e7260.webp",981,757,{"page_no":33,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/da1dbcee8814d90175c23c300603c4a5.webp",980,756,{"list":153,"token":11},[154,160,166,173,179,185,191,198,204,210],{"doc_id":155,"doc_title":156,"file_type":129,"home_preview_img_url":157,"slug":158,"view_count":30,"category_name":29,"create_tm":159},701031,"Regular Expressions: The Complete Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011577006/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243159&Signature=%2Bv%2F0WrMhnkJVZp%2BOTRxoK%2Ffq2oY%3D","regular-expressions-the-complete-tutorial",1794522972,{"doc_id":161,"doc_title":162,"file_type":129,"home_preview_img_url":163,"slug":164,"view_count":33,"category_name":29,"create_tm":165},701037,"Regular Expressions - Chapter 11 - Python for Everybody","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012047384/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243159&Signature=estmz3oHlZv3fLWKLWPhgtZybcY%3D","regular-expressions-chapter-11-python-for-everybody",1794522981,{"doc_id":167,"doc_title":168,"file_type":129,"home_preview_img_url":169,"slug":170,"view_count":171,"category_name":29,"create_tm":172},345930,"zipfile and unzipfile - Compress and uncompress files and directories in zip archive format","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911145605/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243159&Signature=rxrkmp%2B2Qx13fvuvmuGdBbhxptU%3D","zipfile-and-unzipfile-compress-and-uncompress-files-and-directories-in-zip-archive-format",14,1790059425,{"doc_id":174,"doc_title":175,"file_type":129,"home_preview_img_url":176,"slug":177,"view_count":30,"category_name":29,"create_tm":178},701030,"Regular Expressions - Quick Reference Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011576998/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243159&Signature=qO99q33qlP5Ag6KQZ124P%2B6YBEg%3D","regular-expressions-quick-reference-guide",1794522969,{"doc_id":180,"doc_title":181,"file_type":129,"home_preview_img_url":182,"slug":183,"view_count":26,"category_name":29,"create_tm":184},726273,"Regular Expressions - Intro to Patterns and Syntax","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230028539473/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243159&Signature=cekM%2FDcuJCYJEzpZKanDCihDk7I%3D","regular-expressions-intro-to-patterns-and-syntax",1795211900,{"doc_id":186,"doc_title":187,"file_type":129,"home_preview_img_url":188,"slug":189,"view_count":88,"category_name":29,"create_tm":190},701040,"RegexMagic - Version 3.0.0 - Using RegexMagic","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012047459/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243159&Signature=2zRgfXpGPmqfpOkfYoSFNQbRb4k%3D","regexmagic-version-300-using-regexmagic",1794522987,{"doc_id":192,"doc_title":193,"file_type":129,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":29,"create_tm":197},346223,"Unlock Your Data - pdf2Data - iText 7 Add-on","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911173728/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243159&Signature=mpnP%2B393n0rEp3nKQuJSOZg1eJc%3D","unlock-your-data-pdf2data-itext-7-add-on",11,1790060544,{"doc_id":199,"doc_title":200,"file_type":129,"home_preview_img_url":201,"slug":202,"view_count":30,"category_name":29,"create_tm":203},701032,"Regular Expression Pocket Reference - Second Edition - Quick syntax and pattern-matching guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012047365/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243159&Signature=j7Zin9srqFtMyeXrieBV5dJKCGs%3D","regular-expression-pocket-reference-second-edition-quick-syntax-and-pattern-matching-guide",1794522974,{"doc_id":205,"doc_title":206,"file_type":129,"home_preview_img_url":207,"slug":208,"view_count":196,"category_name":29,"create_tm":209},727275,"Python Programming - The Complete Guide to Learn Python for Data Science, AI, Machine Learning, GUI and More - With Practical Exercises and Interview Questions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230028663614/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243159&Signature=9biv2hLPNpmaCvddTE8ZkKyelvA%3D","python-programming-the-complete-guide-to-learn-python-for-data-science-ai-machine-learning-gui-and-more-with-practical-exercises-and-interview-questions",1795232765,{"doc_id":211,"doc_title":212,"file_type":129,"home_preview_img_url":213,"slug":214,"view_count":115,"category_name":29,"create_tm":215},346665,"Guide to Extracting Pages from a PDF Document - Create a New PDF Document","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910952079/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796243159&Signature=lnCLej%2BeP66TqPW4tlIBrm%2FTb%2FQ%3D","guide-to-extracting-pages-from-a-pdf-document-create-a-new-pdf-document",1790062331]