Quantcast
Channel: CodeProject Latest postings for Regular Expressions
Viewing all articles
Browse latest Browse all 224

Regex to extact lines of code know the start and ending

$
0
0
Hi
 
I would like to extract below data from a file from Stack to "}" , Is the pattern suppose to be like "^Stack #1: ( . ) $}"
 

Eg Line :
Ques xx dd
 
Stack #1:
 
Task id #330
 
TaskRecord{ccsssew fs sfsdf sdfsdf}
 

 
Please Help!!

Viewing all articles
Browse latest Browse all 224

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>