T
Thomas
Hi,
I want to categorize using one Regular Expression:
input: "Earth"
output: "Planet"
input: "Moon"
output: "Planet"
input: "Cat"
output: "Animal"
input: "Dog"
output: "Animal"
input: "Tomato"
output: "Vegetable"
input: "Carrot"
output: "Vegetable"
And if no match is found an empty string
input: "^%&%#"
output: ""
Something like this:
"if (Earth|Moon) then Planet ElseIf(Cat|Dog) then Animal... Else "" "
Any ideas?
- Thomas
I want to categorize using one Regular Expression:
input: "Earth"
output: "Planet"
input: "Moon"
output: "Planet"
input: "Cat"
output: "Animal"
input: "Dog"
output: "Animal"
input: "Tomato"
output: "Vegetable"
input: "Carrot"
output: "Vegetable"
And if no match is found an empty string
input: "^%&%#"
output: ""
Something like this:
"if (Earth|Moon) then Planet ElseIf(Cat|Dog) then Animal... Else "" "
Any ideas?
- Thomas