> Hi,
> I need to match the following characters in a pattern ` < > { } ; "
[quoted text clipped - 3 lines]
> Like this:
> Pattern pacxFTPF11 = Pattern.compile("`|<|>|{|}|;|\"|\\|");
Try this: (you have to escape { and }
Pattern pacxFTPF11 = Pattern.compile("`|<|>|\\{|\\}|;|\"|\\|");
> Matcher macxFTPF11 = pacxFTPF11.matcher(acxFTPFile);
>
[quoted text clipped - 21 lines]
>
> How to solve this problem?
Lew - 21 Dec 2006 06:52 GMT
>> Hi,
>> I need to match the following characters in a pattern ` < > { } ; "
[quoted text clipped - 7 lines]
>
> Pattern pacxFTPF11 = Pattern.compile("`|<|>|\\{|\\}|;|\"|\\|");
"[`<>{};\"|]"
?
- Lew