Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
AMPAllie
Helper II
Helper II

Extract Text with Wildcards

I have a column of project names. Somewhere in that string is the circuit ID. It begins with uppercase "C" and will have 3 OR 4 numbers behind it. Then a space, or a hyphen.  The circuit ID is not in the same place in the string every time.  And it may not be the only "C" or the only set of numbers in the string.
Any ideas on how to extract it from the string?

2 REPLIES 2
KT_Bsmart2gethe
Impactful Individual
Impactful Individual

Hi @AMPAllie,

 

It'd be great if sample data with sensitive data removed could be provided.

 

Regards

KT

Here's a sample set. The circuit ID "CXXX" or "CXXXX" can be anywhere in the string.

 

SDG&E PRiME C448-III
SDG&E PRiME C448-Q
SDG&E PRiME OPS 2021 C1076 C RECON
SDG&E PRiME C448-T
SDG&E PRiME C448-N
SDG&E PRiME OPS 2021 C276 D Recon
SDG&E PRiME C448-YY
SDG&E PRiME OPS 2021 C276 E RECON
SDG&E PRiME OPS 2021 C303 H RECON
SDG&E PRiME OPS 2021 C1483 A RECON

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors
Top Kudoed Authors