Regular Expressions 101

Library entries

Extract google fonts key, value, options

Vote

1

Regular Expression
pcre

/
(?:\?|\&)(?<key>[\w]+)=(?<value>[\w+,-]+)(?:\:?)(?<option>[\w,]*)
/
g

Description

Loading markdown...
Submitted by anonymous - 7 years ago