Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to write regex for special characters without using back slashes??

by Corion (Patriarch)
on May 22, 2015 at 06:23 UTC ( [id://1127432] : note . print w/replies, xml ) Need Help??


in reply to How to write regex for special characters without using back slashes??

See perlre, especially \Q and \E.

Replies are listed 'Best First'.
Re^2: How to write regex for special characters without using back slashes??
by sumathigokul (Acolyte) on May 22, 2015 at 11:12 UTC

    Hi all... I could achieve using \Q..\E...Thank you for sharing your knowledge...