Hi everyone! Many programming languages are taking over regular expressions. But since it originated from Perl (am I correct?), I taught this would be the ideal place to drop my beginner's question.
I already succeeded in replacing occurrences of some string in a complete text, but is it also possible to replace a beginning piece and an ending piece of string and just leave the text in between? I'll give a quick example. If I have a string: "some text [LINK='page.html']linkname[/LINK] some more text" I want to replace every "[LINK='page.html']" with <a href='page.html'> I just want to search for [LINK= and the matching ] and just leave the text in between. Is this possible using just regular expressions? You probably can guess now what the purpose will be for this. =) Many thanks for helping me, Kris
smime.p7s
Description: application/pkcs7-signature