How to add apostrophe to the reg exp in salesforce
In the Force.com Explorer, all you need to do it put a before the apostrophe like so: Select Id, Name, (Select Id, Name From Contacts) From Account where name like ‘%L’Oreal%’ Now, if you are building the SOQL dynamically and you are not sure when/where the single quote could appear, Salesforce has though of it. … Read more