From: "Jesús Gabriel y Galán" Date: 2010-04-27T02:35:32+09:00 Subject: Re: regular expressions On Mon, Apr 26, 2010 at 7:28 PM, Kevin Austin wrote: > I'm writing a script that is looking through a file for the following > lines > > > *something* > > > and replacing it with > > > *something* - info about the something > > > my problem is that I can't find info about searching for the "*" > character. > > I've been reviewing the regular expression docs and can only find the > usage for "*" and not how to search for *#{stuff}* * is a special character for regular expressions, so you have to escape it: /\*something\*/ Jesus.