# Help needed with regular expression

**URL:** <https://forum.kirupa.com/t/help-needed-with-regular-expression/330677>\
**Category:** Uncategorized\
**Created:** [February 26, 2013, 6:51am UTC](https://forum.kirupa.com/t/help-needed-with-regular-expression/330677 "2013-02-26T06:51:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaituse](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@chaituse](https://forum.kirupa.com/u/chaituse)\
**Post date:** [February 26, 2013, 6:51am UTC](https://forum.kirupa.com/t/help-needed-with-regular-expression/330677/1 "2013-02-26T06:51:40Z")

</div>

Can anybody tell me what is wrong with the below statement.?  
[COLOR=#a52a2a]base64String = base64String.replace(/[^A-Za-z0-9+/=]/, “”);  
[/COLOR]When I compile, I am getting below error.  
Operator “=” must be followed by an Operand.

Thanks in advace.  
chaituse
