M
MaxMax
I want to add a text to another text using regular expressions... An example
before= "foo"
after= "foobar"
before= "one"
after= "onebar"
before = ""
after = "bar"
How should I do? I found 2 nearly correct patterns:
search = ".*", replace = "$&bar"
but this will give me: foobarbar, onebarbar, bar
search = ".+", replace = "$&bar"
but this will give me: foobar, onebar, ""
Can anyone help me?
Thanks!
before= "foo"
after= "foobar"
before= "one"
after= "onebar"
before = ""
after = "bar"
How should I do? I found 2 nearly correct patterns:
search = ".*", replace = "$&bar"
but this will give me: foobarbar, onebarbar, bar
search = ".+", replace = "$&bar"
but this will give me: foobar, onebar, ""
Can anyone help me?
Thanks!