Regex Help

  • Thread starter Thread starter Carlo Goretti
  • Start date Start date
C

Carlo Goretti

Guest
Hey!

I have started to learn about regEx but i cant get it to work..
I want to check if Regex finds any word that starts with ("test_prod_" or "test_test_") and ends with ("_ABC" or "_BBB", or "CBA" or "KLA" or "BNM").

Regex.Matches(line.ToLower(), @"(?<!\w)Test_Test\w+|(?<!\w)Test_Prod_\w+")


Anyone who wants to help me or help me to learn it?
Best regards

Continue reading...
 
Back
Top