in reply to Re^2: Extract the variable
in thread Extract the variable

Hey this also working !!! Thanx dear!!! But how to use substr function for the same functionality?

denzil_cactus, I see you're relatively new to PM. You'll notice that you already asked that particular question, and that you received an actual answer. So what's wrong with that?

Anyway... back to your question... in my experience I've found that people tend to want to use regexen based solutions even where simpler tools like substr and index would do, or -to mention a classic scenario- to "do it with one regex", where two would better fill the bill. But here a regex based approach is the most natural one, and if you want to know about substr just for curiosity and your own personal education, then fine, but otherwise go with a regex by all means.