Regular expression help needed.

Posted by Subrat on Stack Overflow See other posts from Stack Overflow or by Subrat
Published on 2010-03-22T10:40:28Z Indexed on 2010/03/22 10:41 UTC
Read the original article Hit count: 422

Filed under:

Hi, Can anybody help me writting a regular expression to replace these characters with a empty string. Character list is given below.

public static char[] delimiters = { ' ', '\r', '\n', '?', '!', ';', '.', ',', '`', ':', '(', ')', '{', '}', '[', ']', '|', '\'', '\\', '~', '=', '@', '>', '<', '&', '%', '-', '/', '#' };

Thanks. Subrat.

© Stack Overflow or respective owner

Related posts about JavaScript