Regular Expressions 101

Community Patterns

SinRampVariable

0

Regular Expression
PCRE (PHP <7.3)

/
([\w]+)\s?=\s?([-+\s]*?([0-9]*\.[0-9]+|[0-9]+))?([-+])*([Ss]in|[Rr]amp)\((?:FinalValue:|Amplitude:)([-+\s]*?([0-9]*\.[0-9]+|[0-9]+))([\w]*),(?:Frequency:|RampTime:)([0-9]*\.[0-9]+|[0-9]+)([\w]*)\)
/
g

Description

no description available

Submitted by anonymous - 6 years ago