Using regrep

javelin's picture

I\'ve run into the limit of my knowledge with regrep. I have a \'media article archive\' object containing attributes which are formatted as -

<date>|<source>|<title>|<text>

I want to search the attributes for a keyword in <title>. regrepi() looks to be the way to do this

regrepi(<dbref>,ART_*,<what goes here???>

but I can\'t work out what I need as a regexp expression to do the search. I have tried many combinations but simply don\'t know enough about regular expressions to make it work. Regexp experts, please help. (Argon@CM2)

wildgrepi() might be a better choice.

wildgrepi(<dbref>, ART_*, *|*|*%0*|*)

Anonymous