Thread
:
Removing brackets from a text file
View Single Post
#
1
04-23-2008, 07:40 AM
kinook
Administrator
Join Date: 03-06-2001
Location: Colorado
Posts: 6,052
The expression
ApplyTo:[[(\w+)]]
should be
ApplyTo:\[[(\w+)\]]
(square bracket characters have special meaning in regexes too and must be escaped to be treated as literals by the regex engine).
http://www.visualbuild.com/Manual/regex.htm
kinook
View Public Profile
Visit kinook's homepage!
Find all posts by kinook