cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jdarling20
Helper I
Helper I

Regex syntax in Search Pane

I am using 3.22034.17 and have enabled the upcoming Search Pane feature. It's amazing that I can now search for my code across screens, though I am struggling a bit. I am trying to understand how to successfully implement a regular expression in the search query. I am trying to do a search like this:

 

"Collect(" & ".*" & "colCollectionName"

 

In some cases I implement a Collect (or ClearCollect) with the collection on the same line, but in others the collection names in on the following name, so a simple search for Collect(colCollectionName will not return all instances. This is clearly not the right syntax as I get an 'Invalid regular expression' error.

 

Any thoughts?

2 REPLIES 2
v-bofeng-msft
Community Support
Community Support

Hi @jdarling20 ,

 

In my tests, searching in regex format works.

Could you please show me the format of the object you are searching for? Could you please show me some demos?

 

Best Regards,

Bof

jdarling20
Helper I
Helper I

Hi @v-bofeng-msft ,

 

I am looking to search for:

 

Collect(colCollectionA

 

as well as

 

Collect(

      colCollectionA

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,391)