- The PCRE flavour of RegEx is used here.
- Append the
i
modifier to the end of the regex to make any pattern case-insensitive.
| Purpose | Description | RegEx | Example |
#define WIN32_LEAN_AND_MEAN | |
#include <windows.h> | |
#include <tchar.h> | |
#include <wtypes.h> | |
#include <vector> | |
#include <string> | |
#include <iostream> | |
$securestring = Read-Host -AsSecureString "Please enter your password" | |
$password = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto([System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($securestring)) |
var curDate = new Date(); | |
var finalDate = new Date("6/25/2011"); | |
if(finalDate.getTime() < curDate.getTime()){ | |
app.alert("The customer license for this document has expired. Please contact Situational Leadership @ [email protected] regarding customer ID: 123023234 for assistance."); | |
this.closeDoc(true); | |
}else{ | |
var ocgs = this.getOCGs(); | |
for(var i=0;i<ocgs.length;i++){ | |
if(ocgs[i].name == "Watermark") | |
break; |