LitDev Extension API

LD3DView LDArray LDBits LDBlueTooth LDCall
LDChart LDClient LDClipboard LDColours LDCommPort
LDController LDControls LDCursors LDDataBase LDDateTime
LDDebug LDDialogs LDDictionary LDEffect LDEmail
LDEncryption LDEvents LDFastArray LDFastShapes LDFigures
LDFile LDFocus LDftp LDGraph LDGraphicsWindow
LDHID LDImage LDInline LDIOWarrior LDList
LDLogic LDMath LDMathX LDMatrix LDMusic
LDNetwork LDPhysics LDProcess LDQueue LDRegex
LDResources LDScrollBars LDSearch LDServer LDSettings
LDShapes LDShell LDSort LDSound LDSpeech
LDStatistics LDStopwatch LDText LDTextWindow LDTimer
LDTranslate LDUnits LDUtilities LDWaveForm LDWebCam
LDWindows LDxml LDZip

LDRegex
Regex (regular expression) text manipulation utilities.

Match Replace

Match(input,pattern,caseSensitive)
Perform a regex match.
input The input string to perform the match on (unaltered).
pattern The regex pattern string.
caseSensitive If the regex match is case sensitive ("True" or "False").
returns An array of match values, indexed by the location index in the input (position).

Replace(input,pattern,replacement,caseSensitive)
Perform a regex find and replace.
input The input string to perform the replacement on (unaltered).
pattern The regex pattern string.
replacement The regex replacement string.
caseSensitive If the regex replace is case sensitive ("True" or "False").
returns A modified version of the input string after the regex replace.