Posted on 2006-11-08
I need the exact regular expressions syntax to do the following. Here is the input statement:
I need to make it so that my regex statement will trigger a match for only the "server" and "database" portions of the string above. In other words, it should return a match AS IF it sees a string like this:
I found a regex which almost does what I want, this returns a match on each name/value pair for each of the four (4) sets.
I need to modify this so that it only grabs a match for "server" and "database", but I don't see how (or if it's even possible) to match based on groups of words.