Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-06-14 11:25
Flavor·Python

r"
"([^"\\]*(\\(.|\n)[^"\\]*)*)"[\s]*=[\s]*"([^"\\]*(\\(.|\n)[^"\\]*)*)"[\s]*;
"
g
Open regex in editor

Description

Can be used to find all keys and values in .strings file.

Matching pattern: "key" = "value";

Submitted by Natan Zalkin