G
Guest
hi,
i need a regular expression which would match the exact word in a given
string.
for ex
my input is as below and my pattern is .ocx
".docx .DOCM .DOTX .DOTM"
i want only .ocx string to be matched, if any..
currently, it matches docx also....which i dont want...
what is the appripriate regex pattern..
do help out
i need a regular expression which would match the exact word in a given
string.
for ex
my input is as below and my pattern is .ocx
".docx .DOCM .DOTX .DOTM"
i want only .ocx string to be matched, if any..
currently, it matches docx also....which i dont want...
what is the appripriate regex pattern..
do help out