Using Regular Expressions in SAS | Extracting a Value using Regular Expression | PRXSUBSTR | PRXPOSN

In this Green Numbers video I show you how to use regular expressions to make your code more flexible. In coding we often need to search for specific strings, and there are functions that help us to do this such as the FIND function. But what if you’re not looking for a specific string value but a string pattern. For example, rather than a specific phone number you’re looking for any phone number. For this kind of search we need a more powerful tool. This is where regular expressions really shine. With regular expressions we can search for a pattern, perform fuzzy matching, find and replace a value matching a pattern, and extract a value matching a pattern and save it to a variable. This is the third Green Number video on regular expressions. This one focuses on extracting a value using a pattern and saving it to a variable. In previous videos in this series I demonstrated matching using a pattern, and find and replace using a pattern.

Using Regular Expressions in SAS | Match a Pattern | PRXMATCH
▶︎

Using Regular Expressions in SAS | Match a Pattern | PRXMATCH

Using Regular Expressions in SAS | Find and Replace a Pattern | PRXCHANGE
▶︎

Using Regular Expressions in SAS | Find and Replace a Pattern | PRXCHANGE

Regular Expressions (Regex) Tutorial: How to Match Any Pattern of Text
▶︎

Regular Expressions (Regex) Tutorial: How to Match Any Pattern of Text

SAS Tutorial | If-Then / Else Statements
▶︎

SAS Tutorial | If-Then / Else Statements

Why The Russian Accent Terrifies Everyone
▶︎

Why The Russian Accent Terrifies Everyone

Prince Auditions - SNL
▶︎

Prince Auditions - SNL

Can Magnus Carlsen Beat a Noob with 30 Queens?
▶︎

Can Magnus Carlsen Beat a Noob with 30 Queens?

Ex-Google Recruiter Explains Why "Lying" Gets You Hired
▶︎

Ex-Google Recruiter Explains Why "Lying" Gets You Hired

SAS CHARACTER FUNCTIONS - 7|PERL REGULAR EXPRESSION in SAS|SEARCH FOR A VALUE PATTERN IN A VARIABLE
▶︎

SAS CHARACTER FUNCTIONS - 7|PERL REGULAR EXPRESSION in SAS|SEARCH FOR A VALUE PATTERN IN A VARIABLE

Listen and Feel the Peace | Tibetan Healing Sounds for Deep Meditation, Inner Peace & Soul Healing
▶︎

Listen and Feel the Peace | Tibetan Healing Sounds for Deep Meditation, Inner Peace & Soul Healing

Something is jamming GPS over Europe. Here's what we found
▶︎

Something is jamming GPS over Europe. Here's what we found

How to Think So Clearly People Assume You’re A Genius
▶︎

How to Think So Clearly People Assume You’re A Genius

Trump Preps for 80th Birthday, Threatens to Hit Iran, Knicks Historic Win & Elon Musk Trillionaire!?
▶︎

Trump Preps for 80th Birthday, Threatens to Hit Iran, Knicks Historic Win & Elon Musk Trillionaire!?

NERVOUS 12-Year-Old Who Can Sing Without Opening Her Mouth Earns Mel B's GOLDEN BUZZER!
▶︎

NERVOUS 12-Year-Old Who Can Sing Without Opening Her Mouth Earns Mel B's GOLDEN BUZZER!

Poor Man Forced To Marry 50-Year-Old Country Woman—Turned Out To Be Beautiful, Millionaire girl!
▶︎

Poor Man Forced To Marry 50-Year-Old Country Woman—Turned Out To Be Beautiful, Millionaire girl!

Perl - Regular Expression
▶︎

Perl - Regular Expression

What are CTEs in SQL in 13 minutes (Common Table Expressions for BEGINNERS)
▶︎

What are CTEs in SQL in 13 minutes (Common Table Expressions for BEGINNERS)

How to Answer ANY Question (Even If You Don't Know The Answer!)
▶︎

How to Answer ANY Question (Even If You Don't Know The Answer!)

Tuscan Cottage Wildflowers Oil Painting | 4K Vintage Wallpaper Art Screensaver | Vintage Frames
▶︎

Tuscan Cottage Wildflowers Oil Painting | 4K Vintage Wallpaper Art Screensaver | Vintage Frames

Frequency Of God 963 Hz ✨ Attract Miracles, Divine Blessings & Deep Inner Peace In Your Life
▶︎

Frequency Of God 963 Hz ✨ Attract Miracles, Divine Blessings & Deep Inner Peace In Your Life