Forums Register Login
String and Regex

I have a string "Tracking Number|Carrier" in which im looking for regex "|".

On windows platform with java 1.5.0_11 im able to successfully match using regex-string as "\\|".

But the same regexstirng on same datastring is not working on Linux with java 1.5.0_08

Let me know if this really due to java version and platform mismatch or internally there is some other issue.
Can you post the code you are using? (a whole method that shows the problem, not just a piece of a reg exp)

This thread has been viewed 545 times.

All times above are in ranch (not your local) time.
The current ranch time is
Oct 20, 2018 10:42:30.