Search found 2 matches

by Mike...
Mon Sep 24, 2007 9:54 pm
Forum: Advanced Find and Replace
Topic: Having trouble with regular expressions
Replies: 1
Views: 8987

Re: Having trouble with regular expressions

Okay, after taking RegEx 101, I've come up with: (light\.\d+\s*=\s*7\s*,\s*[-]?\d+\.?\d*\s*,\s*[-]?\d+\.?\d*\s*,\s*[-]?\d+\.?\d*\s*,\s*fx_nicksmokeAI_\w+[_]?\w*\s*[/]*\s*engine\s*\d) Which works quite well. I've only got to tinker with the part after nicksmokeAI to accept some other variations, but ...
by Mike...
Mon Sep 24, 2007 6:09 pm
Forum: Advanced Find and Replace
Topic: Having trouble with regular expressions
Replies: 1
Views: 8987

Having trouble with regular expressions

Hi, I'm trying out the program and can't get a regular expression to work. I want to batch replace the following (an example): light.9 = 7, -16.874, -30.5, 1.25 , fx_nicksmokeAI_sm_lear // Engine 1 light.10 = 7, -19.024, -15.0, 0 , fx_nicksmokeAI_sm_lear // Engine 2 light.11 = 7, -19.024, 15.0, 0 , ...