• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regex expression needed  RSS feed

 
sudharshan tettu
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have got a string like this

status="1" descripiton="Fail" action="resubmit"
Is it possible to extrace the value of status , description etc from the string using regex?

Thanks
Sudharsan TK
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is. What do you have so far?
 
sudharshan tettu
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry i couldnt get you
 
Jan Cumps
Bartender
Posts: 2632
17
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sudarsan tettu wrote:sorry i couldnt get you
Ulf says: "Yes, it is possible", and Ulf asks: "Can you show us what you have tried so far?".
 
fred rosenberger
lowercase baba
Bartender
Posts: 12563
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What Ulf is saying is that we don't just hand out answers here. If you show us the regex you've written to TRY and get the results you're looking for, we'll guide/suggest/give hints towards you finding it.

Make sure you post what your regex is, what it gives you, what you think it should give you and why.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!