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)
When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad:
Rocket Oven Kickstarter - from the trailboss

This thread has been viewed 530 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 16, 2018 08:50:09.