Need help to create regx, to check if i have XYZ and the remaining 3 letters are not number

Hi I have a string:

OO0606 W 25JUL XYZPNH KK1

i need to create a regx to check if i have XYZ and the remaining 3 letters are not number.

Appreciate help:)

2 Likes

Hi @ANSHUL

This one should do the trick:

1 Like

Hi @ANSHUL

Hope this might be helpful to you use this link to be your reference.
RegEx Builder

cheers :smiley:

Happy learning :smiley:

1 Like

@pattyricarte You had a better answer (guide instead of a direct solution) :smiley:
But I couldn’t help myself from solving a regex, it’s fun from time to time :smiley:

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.