Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(Default=Profiles\/)(?:.)+(?'edition'default-release|dev-edition-default)$
/
gmi

Description

With standard Firefox and Firefox-Dev installation, default profiles folders should be casual characters dot "default-release" or "dev-edition-default". To restore a backup you must past the content of the old folder to those folders, only the content. So this ways I get the folders after opened the profiles.ini.

Submitted by globdug - 3 years ago