0

I am trying to find an expression that can be used extract a string after a specific number of characters.

E.g

FR_EN_BR_Student_Exact

FR_EN_NB_Student_Exact

I would want a pattern that can take all characters past the second underscore ( not including the underscore. Would appreciate any ideas!

I understand basic regex but am having trouble with this specific query.

player0
  • 69,261
  • 8
  • 33
  • 67
Zahir
  • 13
  • 3
  • 1
    Looks like you are looking to create a regex, but do not know where to get started. Please check [Reference - What does this regex mean](https://stackoverflow.com/questions/22937618) resource, it has plenty of hints. Also, refer to [Learning Regular Expressions](https://stackoverflow.com/a/2759417/3832970) post for some basic regex info. Once you get some expression ready and still have issues with the solution, please edit the question with the latest details and we'll be glad to help you fix the problem. – Wiktor Stribiżew Feb 21 '20 at 15:15

1 Answers1

0

try:

=ARRAYFORMULA(IFNA(REGEXEXTRACT(A1:A, ".+_.+_(.+_.+_.+)")))

0

player0
  • 69,261
  • 8
  • 33
  • 67