Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9788

Google Sheets: RegEx with multiple cell reference

$
0
0

Is there a way to have multiple cell references in a regular expression formula?

I have more than a hundred list of names with their respective RegEx codes on the next column, and when I tried to concatenate the RegEx column by using JOIN formula into one cell, it eventually exceeded the 50,000 char limit per cell.

So what I did was I have divided them into 2 cells, and possibly will divide it in more cells in the future for more upcoming names, by using JOIN("|", RegExColumn) and I've already tried REGEXMATCH( text, {cell1&"|"&cell2}), REGEXMATCH( text, {cell1:cell2}), REGEMATCH( text, {cell1 & cell2}) but nothing works for me. Y_Y

I hope anyone could help me, and I hope it would work on REGEXREPLACE and REGEXEXTRACT formulas too. Your answers will be very much appreciated.

Thank you so much!

P.S.: Please bear with my bad English hehe ^^


Viewing all articles
Browse latest Browse all 9788

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>