I am looking for a regex in awk
request/123(Pattern for searching) request(word for matching)
word=request pattern =request/123
REGEX USED
if(word ~ /Pattern"/"*/)
I am facing an error as I am not able to use / inside the regex.Could someone help me regarding this. Thank you
As stated in the first result at http://www.google.co.uk/search?q=awk+search+slashes, indicate a slash is a literal slash by preceding it with a backslash [the escape character].