I am a beginner in perl and I am looking on how to search for multiple special characters in a file using Regex. Basically, I have a closing tag /> which I need to verify in a file. I have read that when we have special characters, we need to precede using '\'. But I have two special characters together and I am not sure how to have this check done.
I am using something like below, including />
in-between /\""/
but its not working :
$line =~ /\/>/
Could someone help me with this pattern matching using Regex?