If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
BB_Develpoer
Posts: 130
Registered: ‎10-26-2010
My Device: Blackberry Bold 9700
Accepted Solution

java.util.regex

Hi All ,

 

Can I use the java.util.regx of java in blackberry.

Or I have to use third party library for evaluating regular expressiong???

 

Please anyone answer but soon ...

 

Regards

Please use plain text.
Developer
simon_hain
Posts: 15,900
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: java.util.regex

 

you can check it yourself:

http://www.blackberry.com/developers/docs/6.0.0api/index.html

 

(the second option, you have to use a library)

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Contributor
scibsalv
Posts: 18
Registered: ‎11-03-2011
My Device: Blackberry Simulator 5.0 and above
My Carrier: tim

Re: java.util.regex

have you found third party library similar java.util.regex???

 

Thanks

Please use plain text.
Developer
peter_strange
Posts: 19,601
Registered: ‎07-14-2008
My Device: Not Specified

Re: java.util.regex

This works for me...

 

http://code.google.com/p/regexp-me/

Please use plain text.
Contributor
koderkid
Posts: 15
Registered: ‎04-27-2011
My Device: Storm 2-9550
My Carrier: Verizone

Re: java.util.regex

i'm using it,too , It works fine.
Please use plain text.
Trusted Contributor
NGeldenhuys
Posts: 176
Registered: ‎04-12-2012
My Device: Bold 9780 & Curve 8250
My Carrier: vodacom

Re: java.util.regex

Hi Peter 

Can you please tell me more about the following:

RE r = new RE("abc(\\w*)");

 

Its in the link you posted?

 

Thank you

Please use plain text.
Developer
peter_strange
Posts: 19,601
Registered: ‎07-14-2008
My Device: Not Specified

Re: java.util.regex

Read the comments in RE.java. 

Please use plain text.
Trusted Contributor
NGeldenhuys
Posts: 176
Registered: ‎04-12-2012
My Device: Bold 9780 & Curve 8250
My Carrier: vodacom

Re: java.util.regex

indeed

Please use plain text.