RegEx Transformer

Use this transformer if you like to rephrase the query based on regular expressions. Please note that this transformer rephrases all incoming queries. So make sure that the Java regular expression which you enter works on all possible inputs.

  • Regex to match query input: Java regular expression which are matched against the queries

  • Value to replace the matched text: Java string replace which will rephrase the query.