ok heres a question the answer to which i didnt find out the net .
\003(\d{0,2}),?(\d{0,2})
i us this regex to detect an mirc colour code (control+K) followed by a first digit and an optional second one tokened by a "," this works. however i need the digits to represent a colour that works in html can i use this as a replacement line ?
<style="BACKGROUND-COLOR: convertcolours($1) color: convertcolours($2)"> where convertcolours is a fucntion that returns the propper rgb() if not how can i tackle this problem?
\003(\d{0,2}),?(\d{0,2})
i us this regex to detect an mirc colour code (control+K) followed by a first digit and an optional second one tokened by a "," this works. however i need the digits to represent a colour that works in html can i use this as a replacement line ?
<style="BACKGROUND-COLOR: convertcolours($1) color: convertcolours($2)"> where convertcolours is a fucntion that returns the propper rgb() if not how can i tackle this problem?