Regular Expressions 101

Community Patterns

look ahead and look behind

1

Regular Expression
ECMAScript (JavaScript)

/
(?<=\(VAT\s)[\d]+(?=%\))
/
gm

Description

find number in string with look behind and look ahead

Submitted by anonymous - 4 years ago