I need help to fix a regular expression phrase I am testing for.
I have a string that will always contain the string "]C1". I have been handling that fine for many years using the regular expression ........
"][Cc]1"
But now, I have to also handle the string as EITHER "]C1" or "[C1". I am not sure how to modify this regular expression phrase to handle the open bracket.
I tried ....... "[]\[][Cc]1" ;
But, it doesn't compile.
Can somebody out here please help me. I need to be able to handle EITHER "[" or "]" in my string.
Any help on how I need to modify my regular expression phrase is appreciated.
THANK YOU!!!!!!!!
Stay Cool Ya'll!
-- Kristin
I have a string that will always contain the string "]C1". I have been handling that fine for many years using the regular expression ........
"][Cc]1"
But now, I have to also handle the string as EITHER "]C1" or "[C1". I am not sure how to modify this regular expression phrase to handle the open bracket.
I tried ....... "[]\[][Cc]1" ;
But, it doesn't compile.
Can somebody out here please help me. I need to be able to handle EITHER "[" or "]" in my string.
Any help on how I need to modify my regular expression phrase is appreciated.
THANK YOU!!!!!!!!
Stay Cool Ya'll!
-- Kristin