I'm having a bit of trouble understanding and using this
[quote:152tky13]RegexReplace(String, Regex, Flags, Replace)
In String substitute matches for the regular expression Regex (with Flags) with the string Replace. The replacement string can contain the following special characters: $$ (inserts a $), $& (inserts the matched substring), $` (inserts the portion of the string that precedes the matched substring), or $' (inserts the portion of the string that follows the matched substring).
I have a global variable called LevelNumber and my layouts are named Level 001, Level 002, Level 003, and so on.
I want a single event that will detect LevelNumber and go to layout (by name)
Condition: LevelNumber > 0
Action: Go to Layout "RegexReplace ( LevelNumber, don't know what to put here, don't know what to put here, "Level 00")
Help please. Thanks in advance.
Edit:
IndieKiwi
maybe you can help me?