Reputation: 13
I want to find a string in 3 types of inputs :
What I want is :
Can someone help me with this. Thank you.
Upvotes: 1
Views: 63
Reputation: 11321
Try this regex:
(?<=Client\s)\b\w+\b
see demo here: http://regex101.com/r/lQ9hD0
Upvotes: 1
Reputation: 13725
This matches to the 3 example strings after Client:
Client (XXX|YYY|ZZZ)
Or if you would like to match anything 3 character:
Client (...)
Upvotes: 1