c# - regex to extract a value from a string -


  टी = 1814994788352, स्लॉट = 35, चक्र = 6, नलफ़्रेम फ्लैग = 0, पीपीएफ़्लैग = 0, जासूसफ़्लैग = 0   

मेरे पास यह रेखा है, और regex का उपयोग करके मैं चक्र मूल्य निकालना चाहता हूं।

मैं यह कोशिश कर रहा हूं लेकिन यह काम नहीं करता है।

  मैच मैच = रेगेक्स। मैच (लाइन, @ "चक्र = \ डी,"); अगर (मैच। सफलता) {string key = match.Value; }    

  @ "(? & lt; = cycle =) \ d +"   

इस regex का उपयोग करें HTH

आगे के संदर्भ के लिए, समान प्रश्नों के लिए बेहतर खोज और regex सीखें, इसके सहायक।

Comments

Popular posts from this blog

c++ - Cmake produces file extensions in static library archives -

c# - Roxy file manager in MVC doesn't accept session path -

c# - XML - Serialize class - Some questions -