Avatar of tmajor99
tmajor99
 asked on

Regex - finding words after a match string in found

Need help with regular expression to fin a words after a match string.   I need to find all the word after "KW".    For example;

Wiring Config
-------------------
54KW208V             --->  Need to find 208V
64kw
300KW c               ----->  Need to find  c
Regular Expressions

Avatar of undefined
Last Comment
wilcoxon

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Terry Woods

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Shaun Vermaak

wilcoxon

Look-behind is unnecessary in this case.  Terry's solution is simpler and better for this case.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy