Regular Expressions 101

Community Patterns

123...6

rohit-tagsearch

1

Regular Expression
PCRE (PHP <7.3)

/
^\<Folder id="\w+.*">|\<\/Folder\>
/
gm

Description

Featch or Replace Folder tag data. <FOLDER id="any (word)">hello</FOLDER> Result: hello

Submitted by Rohit Wadhwa - 8 years ago