We help IT Professionals succeed at work.

Regex - finding words after a match string in found

tmajor99
tmajor99 asked
on
99 Views
Last Modified: 2018-11-09
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
Comment
Watch Question

Web Developer, specialising in WordPress
CERTIFIED EXPERT
Most Valuable Expert 2011
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
Shaun VermaakSenior Consultant
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019

Commented:
CERTIFIED EXPERT

Commented:
Look-behind is unnecessary in this case.  Terry's solution is simpler and better for this case.