Avatar of enthuguy
enthuguy
Flag for Australia

asked on 

find a string in a sentence using regex

Hi,
Would like to find a string in a sentence using regex
Basically I have two variables similar to below and valuate true or false
VAR1=”NY,CO,NJ,FL”
VAR2=”NY”

Thanks in advance
Regular ExpressionsShell Scripting

Avatar of undefined
Last Comment
enthuguy

8/22/2022 - Mon