What
A more comprehensive post on some other regex (regular expressions) to format values in Zoho.
How?
The following will remove any non-digits:
v_MyString = "Hello World 123";
v_MyFormattedString ...
What?
Practice makes perfect. Or in my case, any practice is a start. This article serves as a quick note on how to use regular expressions within SQL statements:
How?
For the following examples, ...
What?
A quick reminder on basic regular expressions.
Match Any Character Dot
The dot operator '.' matches any single character in the current character set. For example, to find the ...
... value
v_HexValue = v_HexGiven.replaceAll("#", "").toUpperCase();
//
// using a regular expression: split into pairs of characters or if short hex given, then split into 3 characters
l_HexParts = v_HexValue.replaceAll("(?)",",",false).toList().subList(1,4);
if(v_HexGiven.toString().len()>4)
{
l_HexParts ...
What?
A collection of code snippets I seem to be regularly using to generate a dynamic map of system values held in a ZohoBooks instance.
Why?
Rather than hard-coding and having a ton of if..then ...
What?
A very quick article on a cool snippet of code, another regular expression, I've been trying out to round up a number or at least to remove the trailing zeros. I could have added this to my Zoho ...
... setup a schedule for the import to automatically download the data file regularly:
After all that you will be shown your data table:
Additional Note(s):
Here are some notes & settings ...
What?
This is an article to demonstrate how to handle commas in a CSV file that were enclosed between two double-quotes. I've added to this the handling of new lines or carriage returns in between a ...
... need to be adapted for your needs. Note that I have used 2 URL methods of linking to the Creator app and some data formatting that I tend to use regularly for my benefit later on when I simply copy & ...
... may want to find:
Company Name: Father & Sons (Incorporated)
Contact Name: O'Reilly
How?
Well I've tried various replace methods with regular expressions but the only method reliable enough ...
... 5px 5px 5px 0px rgba(51, 51, 51, 0.3);
}
What I want:
#copyright a
How? So I'm doing this with a regular expression to get rid of newlines:
$v_AppStyle = "
#copyright a{
margin: 10px ...
... regular expression (match all characters not from 0 to 9) in a Zoho Deluge script:
v_PaymentTermsNumber = v_PaymentTerms.replaceAll("[^0-9]","");
// yields 30
And if working with money/currencies, ...
... the origin of a card or other content. MYCOMPANY reserves the right (but not the obligation) to remove or edit such content, but does not regularly review posted content. If you do post content or submit ...
... WARNING!!
curl_setopt($ch, CURLOPT_POST, TRUE); // TRUE to do a regular HTTP POST.
curl_setopt($ch, CURLOPT_POSTFIELDS, $api_message_xml); // In my case, ...
What?
For those of you who use Preg_Replace. Preg_replace is a function that uses regular expressions to search and replace a string.
Why?
Because my understanding with regular expressions is ...
... for MySQL regular expressions
function search_escape_rlike($string){
return preg_replace("/([.\[\]*^\$])/", '\\\$1', $string);
}
# function to list terms into list of regular expressions
# ...
The title of this article implies something rather odd and upcoming considering that Sun Microsystems bought MySQL and Oracle bought Sun. But in fact, this is just a quick list of some regular commands ...
Just a note to say that I've added two more programs which I regularly use to my download section on this website. As always, these are free to download and include the source codes under the GNU/GPL ...
Your feedback has been successfully submitted and is much appreciated. This filters through to an account which is checked regularly and you should get a quick response.
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.