Say I wanted to find something like {this} in a file and replace it with whatever I wanted... would this be something I would do with regex or would there be an simpler solution?
If it's a regex thing, can somebody help me out with that? I have tried to understand regex for about 3 years, and it just ends up making me mad.
Regex question (I believe)
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Without a lexical definition for the content of the braces:is pretty much the most open one you can get.
Code: Select all
#\{.+?\}#s