regex - How to remove the infront regular expression? -


'http' या 'https' और 'www' को कैसे दूर करें, फिर 'google.com' पर छोड़ दिया जाए, '?

  no_http_URL = regexp (domain_URL,' [az] +: // ',' match ',' one ')   

उपरोक्त कोड मुझे परिणाम के लिए 'http' लौटाओ, जो मेरे उत्तर में उलटा है।

  no_http_URL = Regexp ('http://google.com', 'https ?: // (?: Www।।)? (। *)', 'टोकन', 'एक बार') no_http_URL = regexp ('http: // www .google.com ',' https?: // (?: Www।)? (। *) ',' टोकन ',' एक बार ') no_http_URL = regexp (' https://google.com ',' https ?: // (?: Www।।)? (। *) ',' टोकन ',' एक बार ') no_http_URL = regexp (' https: //www.google.com ',' https?: // (? : Www।।)? (। *) ',' टोकन ',' एक बार ')   

no_http_URL के ऊपर अभिव्यक्ति में 1x1 सेल सरणी । यदि आपको स्ट्रिंग मान तक पहुंच की आवश्यकता है जिसे आपको निम्न निष्पादित करने की आवश्यकता है

  no_http_URL = no_http_URL {1,1}    

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -