Im having some trouble replacing text.
For example I want to replace
(name) is in perfect shape.
with
PERF PERF PERF PERF PERF PERF (name) PERF PERF PERF PERF PERF PERF
and make the text perf be blue.
I tried doing
(.*) is in perfect shape. as my regular expression
selectCaptureGroup(0)
replace("PERF PERF PERF PERF PERF PERF" ..matches[2].. " PERF PERF PERF PERF PERF PERF")
as a starting point but it did not work. Nothing shows up
also how do i post code on the forum.
Thanks in advance, im a super noob to this and im trying to get a handle for the commands, but it doesnt seem to work for me at all
SOLVED Replacing issues
SOLVED Replacing issues
Last edited by Thorr686 on Mon Dec 13, 2010 11:22 pm, edited 1 time in total.
Re: Replacing issues
figured it out myself using the debug thing. nice feature thanks