in reply to Newbie regular expressions question
code tags are for both data and code
I see you're not writing perl regex , but some other language (glob), but even in that language you have it backwards from what you say you want
shouldn't skip perlintro#Simple matching, perlintro#Simple substitution, perlintro#More complex regular expressions and perlrequick and try
s{ip-compute-([^-]+)-internal}{ip-compute-10.10.10.1-internal}g;
|
|---|