> Here our two reg expr. The first returns all the data I need 
> except data
> that starts "~MISC~".
> 
>   if (/\s+(\w{4,4}00).+\s+([\d,.]+)/){ # $1 = /\w\w\w\w00
>   if (/\s+((\w{4,4}00)||~MISC~)).+\s+([\d,.]+)/){ # same 
> expression but
> I need it to match if its \w\w\w\w00 or ~MISC~

Well I am certainly not the regex wiz like a few on this list, but i think
you need to escape the ~
\~MISC\~

 i could be wrong, but i am sure the regex wizards will jump in shortly :-)

 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to