How to write a regular expression for excluding some special characters from string?
        Posted  
        
            by Akshay
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Akshay
        
        
        
        Published on 2010-04-10T19:05:38Z
        Indexed on 
            2010/04/10
            19:13 UTC
        
        
        Read the original article
        Hit count: 273
        
I want to exclude the following characters from my string:
\--
'
<
>
Please tell me how to write a regular expression for this.
© Stack Overflow or respective owner