• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regular Expression help  RSS feed

 
Mauro Trevigno
Ranch Hand
Posts: 99
Java Linux Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

Im not sure why my code is not working properly.




Thanks Guys!!

Regards,
Mauro.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37462
537
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's more complicated than it needs to be.

This does what you want:


It matches = first so you only get values. Then it matches any characters until it hits =, comma or end brace. (or the end of the string)
 
Mauro Trevigno
Ranch Hand
Posts: 99
Java Linux Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:That's more complicated than it needs to be.

This does what you want:


It matches = first so you only get values. Then it matches any characters until it hits =, comma or end brace. (or the end of the string)


Thanks a lot Jeanne, you was right, thats more complicated than it need to be :P thanks again.

Regards,
Mauro.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!