Processing Rules - Regular Expressions | Community
Skip to main content
JayGr
Level 3
October 29, 2025
Solved

Processing Rules - Regular Expressions

  • October 29, 2025
  • 1 reply
  • 172 views

I'm not seeing a way to do this, but just wanted to check first. And I'm just trying to work around a backlog of IT resources...

 

So is it possible to do regular expressions within a processing rule?

 

As an example, I basically would want to do something like this one where I could pull out the third value in a string separated by some common character(s). In this case, the characters are -_- and there are two of them so it would need to know its after the second occurrence.

 

 

Best answer by MandyGeorge

No, you can't do regex with processing rules. With processing rules you can only concatenate values, not parse them out. If you're looking to use regex to pull out individual values, you can do that using classifications. Right now you will need to use the legacy classification rule builder to do so until they add rule building to the new classification sets. 

I'm not an expert in regex, but you should be able to write an expression that has a multi-character delimiter, and then in the classification rule builder indicate which value (1st, 2nd, 3rd, etc) that you want to return. 

1 reply

MandyGeorge
Community Advisor and Adobe Champion
MandyGeorgeCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
October 30, 2025

No, you can't do regex with processing rules. With processing rules you can only concatenate values, not parse them out. If you're looking to use regex to pull out individual values, you can do that using classifications. Right now you will need to use the legacy classification rule builder to do so until they add rule building to the new classification sets. 

I'm not an expert in regex, but you should be able to write an expression that has a multi-character delimiter, and then in the classification rule builder indicate which value (1st, 2nd, 3rd, etc) that you want to return.