Cang figure out Regular Expression in Nexus Client
I am having trouble matching text in Nexus using regular expressions.
Trigger Text: ^You focus your spell through your crystal, which glows brightly as it enhances the spell with the <.*> effect.$
Matching Type: Regular Express
-Using Rewrite action on the Match with Value: Crystal Effect is @0- (ignore the -'s the post kept replacing this line with a 0)
I am trying to rewrite
Trigger Text: ^You focus your spell through your crystal, which glows brightly as it enhances the spell with the <.*> effect.$
Matching Type: Regular Express
-Using Rewrite action on the Match with Value: Crystal Effect is @0- (ignore the -'s the post kept replacing this line with a 0)
I am trying to rewrite
You focus your spell through your crystal, which glows brightly as it enhances
the spell with the Quickcast effect.
with
Crystal effect is Quickcast
What am I doing wrong?
with
Crystal effect is Quickcast
What am I doing wrong?
0
Best Answer
-
Assuming it's the same for nexus as default regex, it should probably be something like
^You focus your spell through your crystal, which glows brightly as it enhances the spell with the (\w+) effect\.$
where the pattern \w+ is any single word, and ( ) is to capture in regex.
5