Hi;
I searched, but I couldn’t find the solution I wanted. As you can see, I want to delete or remove this field “…/” at the beginning of the link (change it by adding another word).
How do I do this with a workflow and node. For example, it would be much more useful for me.
You could also use regexReplace($href$, "^../", "")
I think this one is a more reliable solution because the “replace” function will replace all the matches but with the "regexReplace " function you can replace the one at the beginning.
I use the string “something” instead of “n” that you used:
If you have a single line string: “.*something.*”
If you have multiple lines and want to delete the line which includes the string: “.*something.*\n”
If you have multiple lines and want to delete whole text if it contains any of this string: “(.*\n)*.*something.*(.*\n?)*”
This will work for multi line string as well and will delete the string or you can replace it with some other text.
If you want to filter the entire row which has “Y” in its X column, you can use the the same regex I provided ((.*\n)*.*Y.*(.*\n?)*) in Row Filter node and check the “Regular Expression” option.
it works, but I can’t do exactly what I want. I want to delete / delete the lines marked in yellow below. This is exactly the solution I want to achieve
Again I’m sorry because I have improved the expression a bit more to work in all cases.
What you want is to filter the rows based on regex.
So as I said, use a Row filter node and choose for example column X and use the regex I provided: (.*\n)*.*Y.*(.*\n?)*
as the pattern matching value and check the option for regular expression.